ConjugateGradientSolve Method |
Solves a real symmetric positive or negative definite system
using
a conjugate gradient method with or without preconditioning.
Namespace: Imsl.MathAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public double[] Solve(
double[] b
)
Public Function Solve (
b As Double()
) As Double()
public:
array<double>^ Solve(
array<double>^ b
)
member Solve :
b : float[] -> float[]
Parameters
- b
- Type: SystemDouble
A double vector of length n containing the right-hand
side.
Return Value
Type:
Double
A
double vector of length
n containing the
approximate solution to the linear system.
Exceptions See Also