Click or drag to resize

DoubleSymSemiPDFactSolve(DoubleMatrix) Method

Solves the linear system AX = B using the Cholesky factorization for A. The factorization must be checked using the IsGood property before solving. An execption will be thrown when the IsGood property is false and this method is invoked.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DoubleMatrix Solve(
	DoubleMatrix B
)

Parameters

B  DoubleMatrix
Matrix of right hand sides. The number of rows in B must be equal to the Order of the factorization (number of rows/columns in the factored matrix A).

Return Value

DoubleMatrix
The solution matrix.
Exceptions
ExceptionCondition
SingularMatrixExceptionThrown if the factorization for the matrix was not successful. Check if the factorization may be used for solving with the IsGood property.
MismatchedSizeExceptionThrown if the number of rows in the right hand side B is not equal to the number of rows/columns in the factored matrix A.
See Also