Cholesky Decomposition<T>.Try Decompose Method
Attempts to perform the actual Cholesky decomposition.
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
false if the decomposition was successful; otherwise false.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public virtual bool TryDecompose()
Field Value
Booleanfalse if the decomposition was successful; otherwise false.
Remarks
The decomposition isn't calculated until it is needed. When needed, it is called automatically. You never have to call Decompose() explicitly unless you want to control when the decomposition is performed.
Until Decompose() or TryDecompose() is called, either explicitly or implicitly by one of its methods or properties, you can set the Overwrite property to specify whether to overwrite or preserve the original matrix.
Unlike Decompose(), this method does not throw an exception when the matrix is not positive definite. Instead, a value of false is returned.
This method uses the LAPACK routine ?POTRF.