Click or drag to resize
DigitalRuneJacobiMethodDSolve Method (MatrixD, VectorD, VectorD)
Solves the specified linear system of equations Ax=b.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: 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
)

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: VectorD
The solution vector x.
Exceptions
ExceptionCondition
ArgumentNullExceptionmatrixA is .
ArgumentNullExceptionvectorB is .
ArgumentExceptionmatrixA is not a square matrix.
ArgumentException The number of elements of initialX does not match.
See Also