SymmetricIndefiniteDecomposition<T> Constructor

Constructs a new SymmetricIndefiniteDecomposition<T> object.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
protected SymmetricIndefiniteDecomposition(
	Matrix<T> matrix,
	bool overwrite
)

Parameters

matrix  Matrix<T>
The SymmetricMatrix<T> that is to be factorized. The matrix need not be positive definite.
overwrite  Boolean
If false, the matrix is preserved. (This is the default.) If true, matrix is destroyed by the decomposition.

Remarks

By default, the matrix matrix is preserved. It may be more efficient to overwrite the components of matrix with the result of the decomposition. To do this, set the Overwrite property to true immediately after creating the SymmetricIndefiniteDecomposition<T>.

The decomposition isn't performed until it is needed. You can force the calculation to take place by calling the Decompose() method.

Exceptions

ArgumentNullException

matrix is null.

See Also