EigenvalueDecomposition<T> Constructor

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.6

Overload List

EigenvalueDecomposition<T>(Matrix<T>, Boolean)

Constructs a new EigenvalueDecomposition<T> object.
C#
protected EigenvalueDecomposition(
	Matrix<T> matrix,
	bool overwrite
)

Parameters

matrix  Matrix<T>
The DenseMatrix<T> that is to be factorized. This matrix must be positive-definite, or the decomposition will fail.
overwrite  Boolean
If false, the matrix is preserved. (This is the default.) If true, matrix is destroyed by the decomposition.

Remarks

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.

DimensionMismatchException

matrix is not square.

EigenvalueDecomposition<T>(Matrix<T>, EigenvalueDecompositionFactors, Boolean)

Constructs a new EigenvalueDecomposition<T> object.
C#
protected EigenvalueDecomposition(
	Matrix<T> matrix,
	EigenvalueDecompositionFactors requestedFactors,
	bool overwrite
)

Parameters

matrix  Matrix<T>
The DenseMatrix<T> that is to be factorized. This matrix must be positive-definite, or the decomposition will fail.
requestedFactors  EigenvalueDecompositionFactors
Specifies which factors of the eigenvalue decomposition should be computed.
overwrite  Boolean
If false, the matrix is preserved. (This is the default.) If true, matrix is destroyed by the decomposition.

Remarks

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.

DimensionMismatchException

matrix is not square.

See Also