C# Class BuildingsIterator.Statistics.Calculators.RawMomentCalculator

Calculates ith raw moment of sample.
Inheritance: IOnePicksCalculator
显示文件 Open project: intervals-mining-lab/libiada-core

Public Methods

Method Description
Calculate ( List sample ) : double

Calculates raw moment of given power for given sample.

RawMomentCalculator ( int i ) : System

Initializes a new instance of the RawMomentCalculator class.

Method Details

Calculate() public method

Calculates raw moment of given power for given sample.
public Calculate ( List sample ) : double
sample List /// The sample. ///
return double

RawMomentCalculator() public method

Initializes a new instance of the RawMomentCalculator class.
public RawMomentCalculator ( int i ) : System
i int /// Moment's power. ///
return System