Defines a Jacobi preconditioner as the preconditioning matrix, that is, M is the diagonal of A.
double vector containing the diagonal of the Jacobi preconditioner M, that is, diagonal[i]=| Exception Type | Condition |
|---|---|
| ArgumentException | is thrown if the length of vector diagonal is not equal to the order n of input matrix A. |
ConjugateGradient Class | Imsl.Math Namespace