Iterative Sparse Solver<T>.Solve Method
Definition
Namespace: Extreme.Mathematics.LinearAlgebra.IterativeSolvers
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Solve() | Solves the system of equations and returns the solution. |
Solve( | Solves the system of equations for the specified right-hand side and returns the result. |
Solve( | Solves the system of equations for the specified right-hand side and returns the result. |
Solve
Solves the system of equations and returns the solution.
public DenseVector<T> Solve()
Return Value
DenseVector<T>A dense vector containing the best approximation to the solution of the system of equations.
Solve(Vector<T>)
Solves the system of equations for the specified right-hand side and returns the result.
public DenseVector<T> Solve(
Vector<T> rightHandSide
)
Parameters
Return Value
DenseVector<T>A vector that contains the solution of the system.
Exceptions
Argument | rightHandSide is null. |
Dimension | The length of rightHandSide does not equal the number of rows and columns in the matrix. |
Solve(Vector<T>, Vector<T>)
Solves the system of equations for the specified right-hand side and returns the result.
public DenseVector<T> Solve(
Vector<T> rightHandSide,
Vector<T> initialGuess
)
Parameters
- rightHandSide Vector<T>
- A vector that specifies the right-hand side of the system of equations.
- initialGuess Vector<T>
- A vector that specifies the initial guess for the solution.
Return Value
DenseVector<T>A vector that contains the solution of the system.
Exceptions
Argument | rightHandSide is null. |
Dimension | The length of rightHandSide does not equal the number of rows and columns in the matrix. -or- The length of initialGuess does not equal the number of rows and columns in the matrix. |