Represents the solution to a least squares problem.

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public NotInheritable Class LeastSquaresSolver
C#
public sealed class LeastSquaresSolver
C++
public ref class LeastSquaresSolver sealed

Methods

IconTypeDescription
Equals(Object)
Determines whether the specified Object is equal to the current Object.
Finalize()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GetHashCode()
Serves as a hash function for a particular type.
GetPredictions()
Returns a Vector containing the predicted outcomes of the least squares solution.
GetResiduals()
Returns a Vector containing the residuals of the least squares solution.
GetResidualSumOfSquares()
Returns the sum of the squares of the residuals of the least squares solution.
GetResidues()
Returns a Vector containing the residuals of the least squares solution.
GetType()
Gets the Type of the current instance.
MemberwiseClone()
Creates a shallow copy of the current Object.
Solve()
Solves the least squares problem and returns the least norm solution.
ToString()
Returns a String that represents the current Object.

Constructors

IconTypeDescription
LeastSquaresSolverNew(GeneralMatrix, Vector)
Constructs a new LeastSquaresSolver from the matrix of observations and the vector of outcomes.

Properties

IconTypeDescription
Solution
Gets the solution to the least squares problem.
SolutionMethod
Gets or sets the LeastSquaresSolutionMethod used to calculate this LeastSquaresSolver.

Inheritance Hierarchy

System.Object
  Extreme.Mathematics.LinearAlgebra.LeastSquaresSolver