PHP Class PhpBench\Math\Distribution

Lazily Provides summary statistics, also traversable.
Inheritance: implements IteratorAggregate
Show file Open project: dantleech/phpbench Class Usage Examples

Public Methods

Method Description
__construct ( array $samples, array $stats = [] )
getIterator ( )
getMax ( )
getMean ( )
getMin ( )
getMode ( )
getRstdev ( )
getStats ( )
getStdev ( )
getSum ( )
getVariance ( )

Private Methods

Method Description
getStat ( $name )

Method Details

__construct() public method

public __construct ( array $samples, array $stats = [] )
$samples array
$stats array

getIterator() public method

public getIterator ( )

getMax() public method

public getMax ( )

getMean() public method

public getMean ( )

getMin() public method

public getMin ( )

getMode() public method

public getMode ( )

getRstdev() public method

public getRstdev ( )

getStats() public method

public getStats ( )

getStdev() public method

public getStdev ( )

getSum() public method

public getSum ( )

getVariance() public method

public getVariance ( )