Eigenvalue Decomposition<T> Constructor
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.6
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.6
Overload List
Eigenvalue | Constructs a new EigenvalueDecomposition<T> object. |
Eigenvalue | Constructs a new EigenvalueDecomposition<T> object. |
EigenvalueDecomposition<T>(Matrix<T>, Boolean)
Constructs a new EigenvalueDecomposition<T>
object.
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
Argument | matrix is null. |
Dimension | matrix is not square. |
EigenvalueDecomposition<T>(Matrix<T>, EigenvalueDecompositionFactors, Boolean)
Constructs a new EigenvalueDecomposition<T>
object.
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
Argument | matrix is null. |
Dimension | matrix is not square. |