QRDecomposition<T>.LeastSquaresSolveInto Method

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

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

ArgumentNullException

rightHandSide is null.

See Also