LQDecomposition<T>.LeastSquaresSolveInto Method

Definition

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

LeastSquaresSolveInto(Matrix<T>, Matrix<T>) Solves a system of equations defined by the matrix and multiple right-hand sides in the least squares sense.
LeastSquaresSolveInto(Vector<T>, Vector<T>) Solves a system of equations defined by the matrix and the specified right-hand side in the least squares sense.

LeastSquaresSolveInto(Vector<T>, Vector<T>)

Solves a system of equations defined by the matrix and the specified right-hand side in the least squares sense.
C#
public override Vector<T> LeastSquaresSolveInto(
	Vector<T> rightHandSide,
	Vector<T> result
)

Parameters

rightHandSide  Vector<T>
A vector that contains the right-hand side.
result  Vector<T>
The vector that is to hold the result. May be null.

Return Value

Vector<T>

The solution of the system of equations defined by this instance and rightHandSide.

Exceptions

ArgumentNullExceptionrightHandSide is null.

See Also