C# Class CommonLib.Numerical.Data

Show file Open project: jprichardson/CommonLib

Public Methods

Method Description
LeastSquaresCoef ( double Y, double X, double &m, double &b, double &stdErrorM, double &stdErrorB ) : void
LeastSquaresCoefThroughOrigin ( double Y, double X ) : double
LeastSquaresThroughOrigin ( double Y, double X ) : double[]
PercentChange ( double newX, double oldX ) : double
PercentDifference ( double x1, double x2 ) : double
PercentError ( double experimental, double theoretical ) : double
PercentErrorAbs ( double experimental, double theoretical ) : double
StandardDeviation ( double X ) : double

Private Methods

Method Description
Sii ( double i1, double i2 ) : double
Sum ( double nums ) : double
SumInMultiply ( double Y, double X ) : double
SumInSquare ( double nums ) : double

Method Details

LeastSquaresCoef() public static method

public static LeastSquaresCoef ( double Y, double X, double &m, double &b, double &stdErrorM, double &stdErrorB ) : void
Y double
X double
m double
b double
stdErrorM double
stdErrorB double
return void

LeastSquaresCoefThroughOrigin() public static method

public static LeastSquaresCoefThroughOrigin ( double Y, double X ) : double
Y double
X double
return double

LeastSquaresThroughOrigin() public static method

public static LeastSquaresThroughOrigin ( double Y, double X ) : double[]
Y double
X double
return double[]

PercentChange() public static method

public static PercentChange ( double newX, double oldX ) : double
newX double
oldX double
return double

PercentDifference() public static method

public static PercentDifference ( double x1, double x2 ) : double
x1 double
x2 double
return double

PercentError() public static method

public static PercentError ( double experimental, double theoretical ) : double
experimental double
theoretical double
return double

PercentErrorAbs() public static method

public static PercentErrorAbs ( double experimental, double theoretical ) : double
experimental double
theoretical double
return double

StandardDeviation() public static method

public static StandardDeviation ( double X ) : double
X double
return double