IMSL C# Numerical Library

GenMinRes.MaxKrylovDim Property

The maximum Krylov subspace dimension.

public int MaxKrylovDim {get; set;}

Property Value

An int scalar representing the maximum Krylov subspace dimension, that is, the maximum allowable number of GMRES iterations allowed before restarting.

Remarks

By default, MaxKrylovDim is set to the minimum of n and 20 where n is the order of the system to be solved.

Exceptions

Exception Type Condition
ArgumentException is thrown if MaxKrylovDim is less than 1 or greater than n.

See Also

GenMinRes Class | Imsl.Math Namespace