Skip to content

Files

Latest commit

ada8534 · Nov 23, 2019

History

History
24 lines (21 loc) · 507 Bytes

README.md

File metadata and controls

24 lines (21 loc) · 507 Bytes

matrixOperations

Common matrix operations implemented in prolog (tested with ECLiPSe 6.1)

Implemented

  • Sum
  • Difference, implemented also as a constraint
  • Product
  • Transpose
  • Trace
  • Diagonal
  • Antidiagonal
  • Determinant (only for a 2X2 and 3X3 matrix), implemented also as a constraint
  • Size
  • Identity
  • Nth row
  • Nth column
  • Scalar multiplication, implemented also as a constraint
  • Switch row
  • Switch column
  • Eigenvalues (only for a 2X2 and 3X3 matrix)
  • Print matrix

Still a lot to do...