Solves the system of simultaneous linear equations for the specified
right-hand side
ComplexDenseVector and optionally overwrites
the right-hand side with the solution.
Namespace: Extreme.Mathematics.LinearAlgebra.ComplexAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.17114.0)
public override ComplexDenseVector Solve(
ComplexDenseVector rightHandSide,
bool overwrite
)
Public Overrides Function Solve (
rightHandSide As ComplexDenseVector,
overwrite As Boolean
) As ComplexDenseVector
public:
virtual ComplexDenseVector^ Solve(
ComplexDenseVector^ rightHandSide,
bool overwrite
) override
abstract Solve :
rightHandSide : ComplexDenseVector *
overwrite : bool -> ComplexDenseVector
override Solve :
rightHandSide : ComplexDenseVector *
overwrite : bool -> ComplexDenseVector
Parameters
- rightHandSide
- Type: Extreme.Mathematics.LinearAlgebra.ComplexComplexDenseVector
A ComplexVector. - overwrite
- Type: SystemBoolean
If ,
a new ComplexVector instance containing the solution
to the system of equations is returned. If ,
the vector rightHandSide is overwritten by
the solution.
Return Value
Type:
ComplexDenseVectorA
ComplexDenseVector containing the solution
of the system of simultaneous linear equations.
The number of elements in rightHandSide
must equal the number of rows in the ComplexHermitianMatrix.
If the matrix is singular, a solution may not
exist. In this case, a
MatrixSingularException is thrown.
This method uses the LAPACK routine DPOTRS.
Numerical Libraries
Supported in: 5.x, 4.x
Reference