imsl.linalg.LU¶
- class LU(a)¶
Solve a real general system of linear equations.
Solve a real general system of linear equations \(Ax = b\). Using specific methods, any of several related computations can be performed. These extra tasks include computing the LU factorization of A using partial pivoting, computing the inverse matrix \(A^{-1}\), solving \(A^T x = b\) or \(A^H x = b\), or computing the solution of \(Ax = b\) given the LU factorization of A.
Parameters: a : (N,N) array_like
Array containing the input matrix.
Methods
cond() Compute the \(L_1\) norm condition number of the matrix. factor() Compute the pivoted LU factorization of the matrix. factor_full() Compute the pivoted LU factorization of the matrix. inv() Compute the inverse of the matrix. solve(b[, transpose]) Solve a system of linear equations using right-hand side b.