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
| Icon | Type | Description |
|---|---|---|
| Equals(Object) | ||
| Finalize() | ||
| 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() |
Constructors
| Icon | Type | Description |
|---|---|---|
| LeastSquaresSolverNew(GeneralMatrix, Vector) |
Constructs a new LeastSquaresSolver
from the matrix of observations and the vector of
outcomes.
|
Properties
| Icon | Type | Description |
|---|---|---|
| Solution |
Gets the solution to the least squares problem.
| |
| SolutionMethod |
Gets or sets the LeastSquaresSolutionMethod
used to calculate this LeastSquaresSolver.
|