| SorMethodFSolve Method (MatrixF, VectorF, VectorF) |
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 VectorF Solve(
MatrixF matrixA,
VectorF initialX,
VectorF vectorB
)
Public Overrides Function Solve (
matrixA As MatrixF,
initialX As VectorF,
vectorB As VectorF
) As VectorF
public:
virtual VectorF^ Solve(
MatrixF^ matrixA,
VectorF^ initialX,
VectorF^ vectorB
) override
abstract Solve :
matrixA : MatrixF *
initialX : VectorF *
vectorB : VectorF -> VectorF
override Solve :
matrixA : MatrixF *
initialX : VectorF *
vectorB : VectorF -> VectorF
Parameters
- matrixA
- Type: DigitalRune.Mathematics.AlgebraMatrixF
The matrix A. - initialX
- Type: DigitalRune.Mathematics.AlgebraVectorF
The initial guess for x. If this value is , a zero vector will be used
as initial guess.
- vectorB
- Type: DigitalRune.Mathematics.AlgebraVectorF
The vector b.
Return Value
Type:
VectorFThe solution vector x.
Exceptions See Also