| SorMethodDSolve Method (MatrixD, VectorD, VectorD) |
Solves the specified linear system of equations Ax=b.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public override VectorD Solve(
MatrixD matrixA,
VectorD initialX,
VectorD vectorB
)
Public Overrides Function Solve (
matrixA As MatrixD,
initialX As VectorD,
vectorB As VectorD
) As VectorD
public:
virtual VectorD^ Solve(
MatrixD^ matrixA,
VectorD^ initialX,
VectorD^ vectorB
) override
abstract Solve :
matrixA : MatrixD *
initialX : VectorD *
vectorB : VectorD -> VectorD
override Solve :
matrixA : MatrixD *
initialX : VectorD *
vectorB : VectorD -> VectorD
Parameters
- matrixA
- Type: DigitalRune.Mathematics.AlgebraMatrixD
The matrix A. - initialX
- Type: DigitalRune.Mathematics.AlgebraVectorD
The initial guess for x. If this value is , a zero vector will be used
as initial guess.
- vectorB
- Type: DigitalRune.Mathematics.AlgebraVectorD
The vector b.
Return Value
Type:
VectorDThe solution vector x.
Exceptions See Also