LeastSquaresSolutionMethod Enumeration

Enumerates the possible methods for solving a least squares problem.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public enum LeastSquaresSolutionMethod

Members

QRDecomposition0 Use a QR decomposition of the input matrix. This is the default.
NormalEquations1 Use the normal equations computed from the input.
SingularValueDecomposition2 Use a singular value decomposition of the input matrix. This is the most stable method, but also the slowest.
NonNegative3 Ensure that the solution is made up of elements that are non-negative (i.e. positive or zero).

See Also