Solves the system of simultaneous linear equations for the specified
right-hand side vector.
Namespace: Extreme.Mathematics.LinearAlgebraAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public override DenseVector Solve(
DenseVector rightHandSide,
bool overwrite
)
Public Overrides Function Solve (
rightHandSide As DenseVector,
overwrite As Boolean
) As DenseVector
public:
virtual DenseVector^ Solve(
DenseVector^ rightHandSide,
bool overwrite
) override
abstract Solve :
rightHandSide : DenseVector *
overwrite : bool -> DenseVector
override Solve :
rightHandSide : DenseVector *
overwrite : bool -> DenseVector
Parameters
- rightHandSide
- Type: Extreme.Mathematics.LinearAlgebraDenseVector
A Vector. - overwrite
- Type: SystemBoolean
If ,
a new Vector instance containing the solution
to the system of equations is returned. If ,
the vector rightHandSide is overwritten by
the solution.
Return Value
Type:
DenseVectorA
DenseVector containing the solution
of the system of simultaneous linear equations.
The length of rightHandSide
must equal the number of rows in the Matrix.
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