IMSL C# Numerical Library

ConjugateGradient.MaxIterations Property

The maximum number of iterations allowed.

public int MaxIterations {get; set;}

Property Value

An int value specifying the maximum number of iterations allowed.

Remarks

By default, MaxIterations = \max(1000, \sqrt{n}).

Exceptions

Exception TypeCondition
ArgumentException is thrown if MaxIterations is less than or equal to 0.

See Also

ConjugateGradient Class | Imsl.Math Namespace