Repository contains structures and methods to execute linear algebra operations (matrix multiplication etc)

LinearAlgebra

Repository contains structures and methods to execute linear algebra operations (matrix multiplication etc)

Matrix class

Matrix implementation using List as backing filed for elements
Implements methods for by-row and by-column access to elements

Operations supported:

  • matrix addition
  • matrix subtraction
  • value addition
  • value subtraction
  • matrix multiplication
  • vector multiplication
  • value multiplication
  • hadamard product
  • transpose

Vector class

Vector implementation using List as backing filed for elements
Implements methods for accessing elements

Operations supported:

  • vector addition
  • vector subtraction
  • value addition
  • value subtraction
  • matrix multiplication
  • vector multiplication
  • value multiplication
  • hadamard product
  • dot product

GitHub

View Github