Conjugate gradient constructor.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public ConjugateGradient(
	int n,
	ConjugateGradient..::.IFunction argF
)
Visual Basic (Declaration)
Public Sub New ( _
	n As Integer, _
	argF As ConjugateGradient..::.IFunction _
)
Visual C++
public:
ConjugateGradient(
	int n, 
	ConjugateGradient..::.IFunction^ argF
)

Parameters

n
Type: System..::.Int32
An int scalar value defining the order of the matrix.
argF
Type: Imsl.Math..::.ConjugateGradient..::.IFunction
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