The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
correlation.correlation
mir
stat
descriptive
multivariate
correlation
CommonType
!(
stdevType
!
RangeX
,
stdevType
!
RangeY
)
correlation
(RangeX x, RangeY y)
template
correlation
(CorrelationAlgo correlationAlgo = CorrelationAlgo.hybrid, Summation summation = Summation.appropriate)
@
fmamath
CommonType
!(
stdevType
!
RangeX
,
stdevType
!
RangeY
)
correlation
(
RangeX
RangeY
)
(
RangeX
x
,
RangeY
y
)
if
(
isInputRange
!
RangeX
&&
isInputRange
!
RangeY
)
template
correlation
(F, CorrelationAlgo correlationAlgo = CorrelationAlgo.hybrid, Summation summation = Summation.appropriate)
template
correlation
(F, string correlationAlgo, string summation = "appropriate")
template
correlation
(string correlationAlgo, string summation = "appropriate")
Parameters
x
RangeX
range, must be finite iterable
y
RangeY
range, must be finite iterable
Meta
Source
See Implementation
mir
stat
descriptive
multivariate
correlation
functions
correlation