IGLib 1.4
The IGLib base library for development of numerical, technical and business applications.
|
Public Member Functions | |
virtual 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. Decomposed matrix of coefficients A is represented by the current object. | |
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. Decomposed matrix of coefficients A is represented by the current object. | |
virtual void | Solve (IVector b, ref IVector x) |
Solves a system of linear equations A*x=b, and stores the solution in the specified vector. Decomposed matrix of coefficients A is represented by the current object. | |
IVector | Solve (IVector b) |
Solves a system of linear equations A*x=b, and returns the solution. Decomposed matrix of coefficients A is represented by the current object. | |
Protected Member Functions | |
virtual MatrixBase_MathNetNumerics | SolveMathNetNumerics (IMatrix righthandSides) |
Solves systems of linear equations with the specified right-hand sides and the current matrix decomposition by using the Math.Net Numerics library, and returns the result in Math.Net matrix form. | |
virtual VectorBase_MathNetNumerics | SolveMathNetNumerics (IVector rightHandSides) |
Solves the system of linear equations with the specified right-hand sides and the current matrix decomposition by using the Math.Net Numerics library, and returns the result in Math.Net matrix form. | |
Protected Attributes | |
internal int | _rowCount = 0 |
MatrixBase_MathNetNumerics | _matrixSolution_MathNetNumerics |
Matrix_MathNetNumerics | _matrixRighthandSides_MathNetNumerics |
VectorBase_MathNetNumerics | _vectorSolution_MathNetNumerics |
Vector_MathNetNumerics | _vectorRighthandSides_MathNetNumerics |
Properties | |
object | Lock [get] |
This object's central lock object to be used by other object. Do not use this object for locking in class' methods, for this you should use InternalLock. | |
Private Attributes | |
object | _mainLock = new object() |
internal int | _columnCount = 0 |
virtual MatrixBase_MathNetNumerics IG::Num::LinearSolverBase::SolveMathNetNumerics | ( | IMatrix | righthandSides | ) | [inline, protected, virtual] |
Solves systems of linear equations with the specified right-hand sides and the current matrix decomposition by using the Math.Net Numerics library, and returns the result in Math.Net matrix form.
righthandSides | Matrix that contains right-hand sides of the linear equations to be solved as its columns. |
Reimplemented in IG::Num::LUDecomposition, IG::Num::QRDecomposition, IG::Num::CholeskyDecomposition, IG::Num::EigenValueDecomposition, and IG::Num::SingularValueDecomposition.
virtual VectorBase_MathNetNumerics IG::Num::LinearSolverBase::SolveMathNetNumerics | ( | IVector | rightHandSides | ) | [inline, protected, virtual] |
Solves the system of linear equations with the specified right-hand sides and the current matrix decomposition by using the Math.Net Numerics library, and returns the result in Math.Net matrix form.
righthandSides | Vector of right-hand sides of the linear equations to be solved. |
Reimplemented in IG::Num::LUDecomposition, IG::Num::QRDecomposition, IG::Num::CholeskyDecomposition, IG::Num::EigenValueDecomposition, and IG::Num::SingularValueDecomposition.
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. |
object IG::Num::LinearSolverBase::_mainLock = new object() [private] |
internal int IG::Num::LinearSolverBase::_rowCount = 0 [protected] |
internal int IG::Num::LinearSolverBase::_columnCount = 0 [private] |
MatrixBase_MathNetNumerics IG::Num::LinearSolverBase::_matrixSolution_MathNetNumerics [protected] |
Matrix_MathNetNumerics IG::Num::LinearSolverBase::_matrixRighthandSides_MathNetNumerics [protected] |
VectorBase_MathNetNumerics IG::Num::LinearSolverBase::_vectorSolution_MathNetNumerics [protected] |
Vector_MathNetNumerics IG::Num::LinearSolverBase::_vectorRighthandSides_MathNetNumerics [protected] |
object IG::Num::LinearSolverBase::Lock [get] |
This object's central lock object to be used by other object. Do not use this object for locking in class' methods, for this you should use InternalLock.