Click or drag to resize

DoubleSymSemiPDFactSolve(DoubleVector) 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 a solve is attempted by calling this function.

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

Parameters

b  DoubleVector
Right hand side. The length of b must be equal to the Order of the factorization (number of rows/columns in the factored matrix A).

Return Value

DoubleVector
The solution vector.
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 length of the right hand side vector b is not equal to the number of rows/columns in the factored matrix A.
See Also