Linear Algebra

Linear Algebra#

inv(a, *[, stream])

Compute the inverse of a square matrix.

tri_inv(a[, upper, stream])

Compute the inverse of a triangular square matrix.

norm(a, /[, ord, axis, keepdims, stream])

Matrix or vector norm.

cholesky(a[, upper, stream])

Compute the Cholesky decomposition of a real symmetric positive semi-definite matrix.

cholesky_inv(L[, upper, stream])

Compute the inverse of a real symmetric positive semi-definite matrix using it's Cholesky decomposition.

cross(a, b[, axis, stream])

Compute the cross product of two arrays along a specified axis.

qr(a, *[, stream])

The QR factorization of the input matrix.

svd(a, *[, stream])

The Singular Value Decomposition (SVD) of the input matrix.

eigvalsh(a[, UPLO, stream])

Compute the eigenvalues of a complex Hermitian or real symmetric matrix.

eigh(a[, UPLO, stream])

Compute the eigenvalues and eigenvectors of a complex Hermitian or real symmetric matrix.