libcrn
3.9.5
A document image processing library
|
Solvers for systems of linear equations. More...
Functions | |
MatrixDouble | Cramer (const SquareMatrixDouble &Coefficients, const MatrixDouble &ConstantTerms) |
Resolution of linear equation system by the determinant method. More... | |
MatrixDouble | GaussJordan (const SquareMatrixDouble &Coefficients, const MatrixDouble &ConstantTerms) |
Resolution of linear equation system by the pivot method. More... | |
Solvers for systems of linear equations.
Solvers for systems of linear equations
MatrixDouble crn::LinearSystem::Cramer | ( | const SquareMatrixDouble & | Coefficients, |
const MatrixDouble & | ConstantTerms | ||
) |
Resolution of linear equation system by the determinant method.
Solve linear system using Cramer procedure
ExceptionDimension | incompatible matrix dimensions |
ExceptionRuntime | Equation has either no solution or an infinity of solutions |
[in] | Coefficients | matrix of equations' coefficients |
[in] | ConstantTerms | column matrix of constant term |
Definition at line 42 of file CRNEquationSolver.cpp.
MatrixDouble crn::LinearSystem::GaussJordan | ( | const SquareMatrixDouble & | Coefficients, |
const MatrixDouble & | ConstantTerms | ||
) |
Resolution of linear equation system by the pivot method.
Solve linear system using Gauss-Jordan procedure
ExceptionDimension | incompatible matrix dimensions |
ExceptionRuntime | Equation has either no solution or an infinity of solutions |
[in] | Coefficients | matrix of equations' coefficients |
[in] | ConstantTerms | column matrix of constant terms |
Definition at line 92 of file CRNEquationSolver.cpp.