bayespy.utils.linalg

General numerical functions and methods.

Functions

block_banded_solve(A, B, y)

Invert symmetric, banded, positive-definite matrix.

chol(C[, ndim])

chol_inv(U[, ndim])

chol_logdet(U[, ndim])

chol_solve(U, b[, out, matrix, ndim])

dot(*arrays)

Compute matrix-matrix product.

inner(*args[, ndim])

Compute inner product.

inv(A[, ndim])

General array inversion.

logdet_chol(U)

logdet_cov(C[, ndim])

logdet_tri(R)

Logarithm of the absolute value of the determinant of a triangular matrix.

m_dot(A, b)

mmdot(A, B[, ndim])

Compute matrix-matrix product.

mvdot(A, b[, ndim])

Compute matrix-vector product.

outer(A, B[, ndim])

Computes outer product over the last axes of A and B.

solve_triangular(U, B[, ndim])

tracedot(A, B)

Computes trace(A*B).

transpose(X[, ndim])

Transpose the matrix.