Go to the source code of this file.
Definition in file lu_base.h.
Namespaces | |
namespace | o2scl_linalg |
The namespace for linear algebra classes and functions. | |
Functions | |
template<class mat_t > | |
int | diagonal_has_zero (const size_t N, mat_t &A) |
Return 1 if at least one of the elements in the diagonal is zero. | |
template<class mat_t > | |
int | LU_decomp (const size_t N, mat_t &A, o2scl::permutation &p, int &signum) |
Compute the LU decomposition of the matrix A . | |
template<class mat_t , class mat_row_t > | |
int | LU_decomp_alt (const size_t N, mat_t &A, o2scl::permutation &p, int &signum) |
template<class mat_t , class vec_t , class vec2_t > | |
int | LU_solve (const size_t N, const mat_t &LU, const o2scl::permutation &p, const vec_t &b, vec2_t &x) |
Solve a linear system after LU decomposition. | |
template<class mat_t , class vec_t > | |
int | LU_svx (const size_t N, const mat_t &LU, const o2scl::permutation &p, vec_t &x) |
Solve a linear system after LU decomposition in place. | |
template<class mat_t , class mat2_t , class vec_t , class vec2_t , class vec3_t > | |
int | LU_refine (const size_t N, const mat_t &A, const mat2_t &LU, const o2scl::permutation &p, const vec_t &b, vec2_t &x, vec3_t &residual) |
Refine the solution of a linear system. | |
template<class mat_t , class mat2_t , class mat_col_t > | |
int | LU_invert (const size_t N, const mat_t &LU, const o2scl::permutation &p, mat2_t &inverse) |
Compute the inverse of a matrix from its LU decomposition. | |
template<class mat_t > | |
double | LU_det (const size_t N, const mat_t &LU, int signum) |
Compute the determinant of a matrix from its LU decomposition. | |
template<class mat_t > | |
double | LU_lndet (const size_t N, const mat_t &LU) |
Compute the logarithm of the absolute value of the determinant of a matrix from its LU decomposition. | |
template<class mat_t > | |
int | LU_sgndet (const size_t N, const mat_t &LU, int signum) |
Compute the sign of the determinant of a matrix from its LU decomposition. |
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.
Project hosting provided by
,
O2scl Sourceforge Project Page