Generate an approximate solution to Ax=b using the Generalized Residual Method.

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

Syntax

C#
public double[] Solve(
	double[] b
)
Visual Basic (Declaration)
Public Function Solve ( _
	b As Double() _
) As Double()
Visual C++
public:
array<double>^ Solve(
	array<double>^ b
)

Parameters

b
Type: array< System..::.Double >[]()[]
A double array which defines the right-hand side of the linear system.

Return Value

A double array containing the solution of the linear system.

Exceptions

ExceptionCondition
System..::.ArgumentException is thrown if the length of b is not consistent with n.

See Also