\EHMathUtils

It contains several static functions that are used to make mathematical calculations during the creation of the HTML Report.

Summary

Methods
Properties
Constants
calculateStandartDeviation()
calculateMean()
calculateMedian()
calculatePercentage()
getAbsolutFromPercentage()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

calculateStandartDeviation()

calculateStandartDeviation(array $aValues,  $bSample)

Parameters

array $aValues
$bSample

calculateMean()

calculateMean(array $aValues)

Parameters

array $aValues

calculateMedian()

calculateMedian(array $aValues)

Parameters

array $aValues

calculatePercentage()

calculatePercentage( $total,  $amount)

Parameters

$total
$amount

getAbsolutFromPercentage()

getAbsolutFromPercentage( $total,  $percentage)

Parameters

$total
$percentage