Constructs an NMFact object which uses the given update algorithm to update the factors and the given number of iterations.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public NMFact(
	int numIterations,
	INMFUpdateAlgorithm updateAlgorithm
)
Visual Basic (Declaration)
Public Sub New ( _
	numIterations As Integer, _
	updateAlgorithm As INMFUpdateAlgorithm _
)
Visual C++
public:
NMFact(
	int numIterations, 
	INMFUpdateAlgorithm^ updateAlgorithm
)

Parameters

numIterations
Type: System..::.Int32
The number of iterations.
updateAlgorithm
Type: CenterSpace.NMath.Stats..::.INMFUpdateAlgorithm
The update algorithm to use.

Remarks

Only the final error for the approximation is computed.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.InvalidArgumentException Thrown if numIterations is <= 0.

See Also