Linear Operator<T>.Least Squares Solve Into Method
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Least | Solves a system of equations defined by the matrix and multiple right-hand sides in the least squares sense. |
Least | Solves a system of equations defined by the matrix and the specified right-hand side in the least squares sense. |
LeastSquaresSolveInto(Matrix<T>, Matrix<T>)
Solves a system of equations defined by the matrix and multiple right-hand sides in the least squares sense.
public virtual Matrix<T> LeastSquaresSolveInto(
Matrix<T> rightHandSide,
Matrix<T>? result
)
Parameters
- rightHandSide Matrix<T>
- A matrix whose columns contain the right-hand sides.
- result Matrix<T>
- The vector that is to hold the result. May be null.
Return Value
Matrix<T>The solution of the system of equations defined by this instance and rightHandSide.
Exceptions
Argument | rightHandSide is null. |
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.
public abstract 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
Argument | rightHandSide is null. |