Quasar > Linear algebra

Linear algebra


An overview of the different topics:
BLAS

linalg.q

Quasar library for linear algebra routines.

See linalg.q


An overview of the different functions and classes:

BLAS
choleskyPerforms Cholesky decomposition of the positive definite matrix X,:
cholesky_devicePerforms Cholesky decomposition of the positive definite matrix Sigma, storing the result in Y. At the end of the process, the following relationship holds:
detDeterminant of a real-valued matrix
invComputes the inverse of a squared matrix
jacobiComputes all eigenvalues and eigenvectors of a real symmetric matrix a. On output, the elements of a above the diagonal are destroyed.
linalg.qQuasar library for linear algebra routines.
logdetLogarithm of the determinant of a real-valued matrix
lsolveSolve the linear system of equations A.X = B (where X is a vector)
pinvComputes the pseudo-inverse of a matrix
polyvalpolynomial curve evaluation
procrustesEstimates a linear transformation (translation, rotation, scaling) to match Y with X
solve_tridiagonal_matrixSolve the tridiagonal matrix problem using the simplified Thomas algorithm. This means that the diagonal elements are assumed to be nonzero. It solves the system Mx = d, where M is a tridiagonal matrix. :function [x : vec] = __device__ solve_tridiagonal_matrix(a:vec,b:vec,c:vec,d:vec)
svdComputation of a singular value decomposition (SVD).
symsqrtComputes the symmetric square root of a positive definite matrix
toeplitzComputes a square toeplitz matrix
wpolyfitweighted polynomial fitting