C# Class YAMP.YMath

Capsulates an ensemble of internally (frequently) used math functions.
显示文件 Open project: FlorianRappl/YAMP Class Usage Examples

Public Methods

Method Description
Average ( MatrixValue M ) : Value
Correlation ( MatrixValue M ) : MatrixValue
Covariance ( MatrixValue M ) : MatrixValue
CrossCorrelation ( MatrixValue M, MatrixValue N, int n ) : MatrixValue
HarmonicMean ( MatrixValue M ) : Value
Histogram ( MatrixValue v, Double centers ) : MatrixValue
Histogram ( MatrixValue v, Int32 nbins ) : MatrixValue
Mean ( MatrixValue M ) : Value
Median ( MatrixValue M ) : ScalarValue
Variance ( MatrixValue M ) : Value

Method Details

Average() public static method

public static Average ( MatrixValue M ) : Value
M MatrixValue
return Value

Correlation() public static method

public static Correlation ( MatrixValue M ) : MatrixValue
M MatrixValue
return MatrixValue

Covariance() public static method

public static Covariance ( MatrixValue M ) : MatrixValue
M MatrixValue
return MatrixValue

CrossCorrelation() public static method

public static CrossCorrelation ( MatrixValue M, MatrixValue N, int n ) : MatrixValue
M MatrixValue
N MatrixValue
n int
return MatrixValue

HarmonicMean() public static method

public static HarmonicMean ( MatrixValue M ) : Value
M MatrixValue
return Value

Histogram() public static method

public static Histogram ( MatrixValue v, Double centers ) : MatrixValue
v MatrixValue
centers Double
return MatrixValue

Histogram() public static method

public static Histogram ( MatrixValue v, Int32 nbins ) : MatrixValue
v MatrixValue
nbins System.Int32
return MatrixValue

Mean() public static method

public static Mean ( MatrixValue M ) : Value
M MatrixValue
return Value

Median() public static method

public static Median ( MatrixValue M ) : ScalarValue
M MatrixValue
return ScalarValue

Variance() public static method

public static Variance ( MatrixValue M ) : Value
M MatrixValue
return Value