mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
hmeanType
mir
math
stat
package
template
hmeanType (
T
) {
import
mir
.
math
.
sum
:
sumType
;
;
alias
U
=
sumType
!
T
;
alias
V
=
typeof
(
cast
(
U
)
1
/ ((
cast
(
U
)
1
/
U
.
init
+
cast
(
U
)
1
/
U
.
init
) /
cast
(
U
)
2
))
;
alias
hmeanType
=
statType
!
V
;
}
Members
Aliases
U
alias
U
=
sumType
!
T
Undocumented in source.
V
alias
V
=
typeof
(
cast
(
U
)
1
/ ((
cast
(
U
)
1
/
U
.
init
+
cast
(
U
)
1
/
U
.
init
) /
cast
(
U
)
2
))
Undocumented in source.
hmeanType
alias
hmeanType
=
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