Module engram::linalg

source ·
Expand description

Linear algebra.

Structs§

  • A tensor of floating point values.

Functions§

  • Cholesky decomposition of a symmetric, positive-definite matrix. Returns the product of the lower triangular matrix and its conjugate transpose. Returns None if the input matrix is not not square or positive-definite.
  • Dot product of two vectors.
  • LU decomposition of a square matrix. Returns the product of the lower triangular matrix and an upper triangular matrix.
  • Magnitude of a vector.

Type Aliases§

  • A one-dimensional tensor of floating point values.
  • A two-dimensional tensor of floating point values.