IMSL C# Numerical Library

ConjugateGradient Members

ConjugateGradient overview

Public Instance Constructors

ConjugateGradient Constructor Conjugate gradient constructor.

Public Instance Properties

Iterations The number of iterations needed by the conjugate gradient algorithm.
MaxIterations The maximum number of iterations allowed.
RelativeError The relative error used for stopping the algorithm.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetJacobi Returns the Jacobi preconditioning matrix.
GetType (inherited from Object) Gets the Type of the current instance.
SetJacobi Defines a Jacobi preconditioner as the preconditioning matrix, that is, M is the diagonal of A.
Solve Solves a real symmetric positive or negative definite system Ax=b using a conjugate gradient method with or without preconditioning.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ConjugateGradient Class | Imsl.Math Namespace | Example without preconditioning | Example with different preconditioners