NonNegativeMatrixFactorization<T> Constructor

Constructs a new NonNegativeMatrixFactorization<T> object.,

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
public NonNegativeMatrixFactorization(
	Matrix<T> matrix,
	int innerDimension
)

Parameters

matrix  Matrix<T>
The DenseMatrix<T> that is to be factorized.
innerDimension  Int32
The inner dimension of the matrix product.

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.

ArgumentOutOfRangeException

innerDimension is not positive or is greater than the smaller matrix dimension.

See Also