C# Class PolynominalRegression, MathExpressions.NET

Afficher le fichier Open project: KvanTTT/MathExpressions.NET Class Usage Examples

Méthodes publiques

Méthode Description
Calculate ( double x ) : double
PolynominalRegression ( MathNet.Numerics.LinearAlgebra.Double.DenseVector xData, MathNet.Numerics.LinearAlgebra.Double.DenseVector yData, int order ) : MathNet.Numerics.LinearAlgebra

Calculates polynom regression for xData = [x1, x2, ... , xn] and yData = [y1, y2, ... , yn].

PolynominalRegression ( MathNet.Numerics.LinearAlgebra.Double.DenseVector yData, int order ) : MathNet.Numerics.LinearAlgebra

Calculates polynom regression for xData = [0, 1, ... , n] and yData = [y1, y2, ... , yn].

Private Methods

Méthode Description
TransposeAndMult ( Matrix m, Vector, v ) : MathNet.Numerics.LinearAlgebra.Double.DenseVector
VandermondeRow ( double x ) : Vector

Method Details

Calculate() public méthode

public Calculate ( double x ) : double
x double
Résultat double

PolynominalRegression() public méthode

Calculates polynom regression for xData = [x1, x2, ... , xn] and yData = [y1, y2, ... , yn].
public PolynominalRegression ( MathNet.Numerics.LinearAlgebra.Double.DenseVector xData, MathNet.Numerics.LinearAlgebra.Double.DenseVector yData, int order ) : MathNet.Numerics.LinearAlgebra
xData MathNet.Numerics.LinearAlgebra.Double.DenseVector
yData MathNet.Numerics.LinearAlgebra.Double.DenseVector
order int Order of output polynom.
Résultat MathNet.Numerics.LinearAlgebra

PolynominalRegression() public méthode

Calculates polynom regression for xData = [0, 1, ... , n] and yData = [y1, y2, ... , yn].
public PolynominalRegression ( MathNet.Numerics.LinearAlgebra.Double.DenseVector yData, int order ) : MathNet.Numerics.LinearAlgebra
yData MathNet.Numerics.LinearAlgebra.Double.DenseVector
order int Order of output polynom.
Résultat MathNet.Numerics.LinearAlgebra