IMSL C# Numerical Library

ConjugateGradient Constructor 

Conjugate gradient constructor.

public ConjugateGradient(
   int n,
   IFunction argF
);

Parameters

n
An int scalar value defining the order of the matrix.
argF
An IFunction that defines the user-supplied function which computes z = Ap. If argF implements IPreconditioner then right preconditioning is performed using this user supplied function. Otherwise, no preconditioning is performed. Note that argF can be used to act upon the coefficients of matrix A stored in different storage modes.

See Also

ConjugateGradient Class | Imsl.Math Namespace