Solves the system of simultaneous linear equations for the specified
right-hand side
SingleDenseMatrix and overwrites the
right-hand side with the solution.
Namespace: Extreme.Mathematics.LinearAlgebraAssembly: Extreme.Numerics.Version4x.Net40 (in Extreme.Numerics.Version4x.Net40.dll) Version: 4.2.11333.0 (5.0.12317.0)
public override SingleDenseMatrix Solve(
SingleDenseMatrix rightHandSide,
bool overwrite
)
Public Overrides Function Solve (
rightHandSide As SingleDenseMatrix,
overwrite As Boolean
) As SingleDenseMatrix
public:
virtual SingleDenseMatrix^ Solve(
SingleDenseMatrix^ rightHandSide,
bool overwrite
) override
abstract Solve :
rightHandSide : SingleDenseMatrix *
overwrite : bool -> SingleDenseMatrix
override Solve :
rightHandSide : SingleDenseMatrix *
overwrite : bool -> SingleDenseMatrix
Parameters
- rightHandSide
- Type: Extreme.Mathematics.LinearAlgebraSingleDenseMatrix
A SingleDenseMatrix. - overwrite
- Type: SystemBoolean
If false,
a new SingleDenseMatrix instance containing the solution
to the system of equations is returned. (This is the default.)
If true, the matrix rightHandSide
is overwritten by the solution.
Return Value
Type:
SingleDenseMatrixA
SingleDenseMatrix containing the solution
of the system of simultaneous linear equations.
The number of rows in
rightHandSide
must equal the number of rows in the
SingleMatrix.
If the matrix is singular, a solution may not
exist. In this case, a
MatrixSingularException is thrown.
Numerical Libraries
Supported in: 5.x, 4.x
Reference