Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
MathPHP
Statistics
Average
heronianMean
MathPHP\Statistics\Average::heronianMean PHP Method
Average Class Documentation
Show file
Open project: markrogoyski/math-php
heronianMean()
public
static
method
Heronian mean https://en.wikipedia.org/wiki/Heronian_mean __ H = ⅓(A + √AB + B)
public
static
heronianMean
(
number
$A
,
number
$B
) :
number
$A
number
$B
number
return
number
public static function heronianMean($A, $B) { return 1 / 3 * ($A + sqrt($A * $B) + $B); }
Average
agm
arithmeticGeometricMean
contraharmonicMean
cubicMean
cumulativeMovingAverage
describe
exponentialMovingAverage
generalizedMean
geometricMean
harmonicMean
heronianMean
identricMean
interquartileMean
iqm
kthSmallest
lehmerMean
logarithmicMean
mean
median
mode
powerMean
quadraticMean
rootMeanSquare
simpleMovingAverage
splitAtValue
trimean
truncatedMean
weightedMovingAverage