| NMathFunctionsSolvePD(FloatHermCsrSparseMatrix, FloatComplexVector) Method |
Solves the linear system Ax = b where A is a
Hermitian, postive definite, sparse matrix.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static FloatComplexVector SolvePD(
FloatHermCsrSparseMatrix A,
FloatComplexVector b
)
Public Shared Function SolvePD (
A As FloatHermCsrSparseMatrix,
b As FloatComplexVector
) As FloatComplexVector
public:
static FloatComplexVector^ SolvePD(
FloatHermCsrSparseMatrix^ A,
FloatComplexVector^ b
)
static member SolvePD :
A : FloatHermCsrSparseMatrix *
b : FloatComplexVector -> FloatComplexVector
Parameters
- A FloatHermCsrSparseMatrix
- A CSR Hermitian, postive definite, sparse matrix.
- b FloatComplexVector
- Vector to solve for. Must have a length equal to the
number of rows in A.
Return Value
FloatComplexVectorA vector
x that is the solution to
Ax = b.
Exceptions Exception | Condition |
---|
MismatchedSizeException | Thrown if the length of b
is different than the number of rows in A. |
NMathException | Thrown if there is an error solving
the system or if A is not positive definite. |
See Also