The maximum Krylov subspace dimension.
An int scalar representing the maximum Krylov subspace dimension, that is, the maximum allowable number of GMRES iterations allowed before restarting.
By default, MaxKrylovDim is set to the minimum of n and 20 where n is the order of the system to be solved.
| Exception Type | Condition |
|---|---|
| ArgumentException | is thrown if MaxKrylovDim is less than 1 or greater than n. |
GenMinRes Class | Imsl.Math Namespace