|
IGLib
1.7.2
The IGLib base library for development of numerical, technical and business applications.
|
Classes that can be used for solution of linear systems of equations. More...
Inheritance diagram for IG.Num.ILinearSolver:
Collaboration diagram for IG.Num.ILinearSolver:Public Member Functions | |
| void | GetProduct (ref IMatrix product) |
| Calculates the product (i.e. the original matrix of coefficients of a linear system of equations) of the current decomposition, and stores it to the specified matrix. More... | |
| IMatrix | GetProduct () |
| Calculates and returns the product (i.e. the original matrix of coefficients of a linear system of equations) of the current decomposition. More... | |
| void | Inverse (ref IMatrix inv) |
| Calculates inverse of the decomposed matrix represented by the current object, and stores it in the specified matrix. More... | |
| IMatrix | Inverse () |
| Calculates and returns inverse of the decomposed matrix represented by the current object. More... | |
| void | Solve (IMatrix B, ref IMatrix X) |
| Solves A*X = B (a set of linear systems of equations), where B is the matrix whose colums are right-hand sides of equations to be solved. Solutions are stored to the specified matrix. More... | |
| IMatrix | Solve (IMatrix B) |
| Solves A*X = B (a set of linear systems of equations), where B is the matrix whose colums are right-hand sides of equations to be solved, and returns a matrix whose columns are solutions of the specified systems of equations. More... | |
| void | Solve (IVector b, ref IVector x) |
| Solves a system of linear equations A*x=b, and stores the solution in the specified vector. More... | |
| IVector | Solve (IVector b) |
| Solves a system of linear equations A*x=b, and returns the solution. More... | |
Properties | |
| bool | IsNonSingular [get] |
| Indicates whether the matrix of coefficients of a linear system represented by the current decomposition object, is nonsingular. More... | |
Properties inherited from IG.Lib.ILockable | |
| object | Lock [get] |
Classes that can be used for solution of linear systems of equations.
This interface is mainly used for matrix dexompositions.
$A Igor Apr12;
| void IG.Num.ILinearSolver.GetProduct | ( | ref IMatrix | product | ) |
Calculates the product (i.e. the original matrix of coefficients of a linear system of equations) of the current decomposition, and stores it to the specified matrix.
| product | Matrix where re-calculated product of the decomposed matrix is stored. |
Implemented in IG.Num.SingularValueDecomposition, IG.Num.EigenValueDecomposition, IG.Num.CholeskyDecomposition, IG.Num.QRDecomposition, and IG.Num.LUDecomposition.
| IMatrix IG.Num.ILinearSolver.GetProduct | ( | ) |
Calculates and returns the product (i.e. the original matrix of coefficients of a linear system of equations) of the current decomposition.
Implemented in IG.Num.SingularValueDecomposition, IG.Num.EigenValueDecomposition, IG.Num.CholeskyDecomposition, IG.Num.QRDecomposition, and IG.Num.LUDecomposition.
| void IG.Num.ILinearSolver.Inverse | ( | ref IMatrix | inv | ) |
Calculates inverse of the decomposed matrix represented by the current object, and stores it in the specified matrix.
| inv | Matrix where calculated inverse is stored. |
Implemented in IG.Num.SingularValueDecomposition, IG.Num.EigenValueDecomposition, IG.Num.CholeskyDecomposition, IG.Num.QRDecomposition, and IG.Num.LUDecomposition.
| IMatrix IG.Num.ILinearSolver.Inverse | ( | ) |
Calculates and returns inverse of the decomposed matrix represented by the current object.
Implemented in IG.Num.SingularValueDecomposition, IG.Num.EigenValueDecomposition, IG.Num.CholeskyDecomposition, IG.Num.QRDecomposition, and IG.Num.LUDecomposition.
Solves A*X = B (a set of linear systems of equations), where B is the matrix whose colums are right-hand sides of equations to be solved. Solutions are stored to the specified matrix.
Decomposed matrix of coefficients A is represented by the current object.
Solves A*X = B (a set of linear systems of equations), where B is the matrix whose colums are right-hand sides of equations to be solved, and returns a matrix whose columns are solutions of the specified systems of equations.
Decomposed matrix of coefficients A is represented by the current object.
| B | A Matrix with as many rows as A and any number of columns (right-hand sides). |
Solves a system of linear equations A*x=b, and returns the solution.
Decomposed matrix of coefficients A is represented by the current object.
| b | Right-hand side vector. |
|
get |
Indicates whether the matrix of coefficients of a linear system represented by the current decomposition object, is nonsingular.