Solves the system of linear equations in the
least-squares sense 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.17114.0)
public DenseVector LeastSquaresSolve(
DenseVector rightHandSide,
bool overwrite
)
Public Function LeastSquaresSolve (
rightHandSide As DenseVector,
overwrite As Boolean
) As DenseVector
public:
virtual DenseVector^ LeastSquaresSolve(
DenseVector^ rightHandSide,
bool overwrite
) sealed
abstract LeastSquaresSolve :
rightHandSide : DenseVector *
overwrite : bool -> DenseVector
override LeastSquaresSolve :
rightHandSide : DenseVector *
overwrite : bool -> DenseVector
Parameters
- rightHandSide
- Type: Extreme.Mathematics.LinearAlgebraDenseVector
A DenseVector. - overwrite
- Type: SystemBoolean
if , the vector
rightHandSide is overwritten by the solution
to the system of equations. If , a new
Vector containing the solution is
returned.
Return Value
Type:
DenseVectorA
DenseVector containing the least squares solution
of the system of simultaneous linear equations.
Implements
ILeastSquaresSolverLeastSquaresSolve(DenseVector, Boolean)
Numerical Libraries
Supported in: 5.x, 4.x
Reference