mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
meanType
mir
math
stat
package
template
meanType (
T
) {
import
mir
.
math
.
sum
:
sumType
;
;
alias
U
=
sumType
!
T
;
alias
V
=
typeof
((
U
.
init
+
U
.
init
) /
2
)
;
alias
meanType
=
statType
!
V
;
}
Members
Aliases
U
alias
U
=
sumType
!
T
Undocumented in source.
V
alias
V
=
typeof
((
U
.
init
+
U
.
init
) /
2
)
Undocumented in source.
meanType
alias
meanType
=
statType
!
V
Undocumented in source.
Meta
Source
See Implementation
mir
math
stat
enums
VarianceAlgo
functions
gmean
structs
GMeanAccumulator
MapSummator
MeanAccumulator
VarianceAccumulator
templates
center
gmeanType
hmean
hmeanType
mean
meanType
median
simpleLinearRegression
standardDeviation
statType
stdevType
variance