|
inlineconstexpr |
Parameters
xs:the parameters can be a mix of floating values or previous results of calls to welford_variance or a tuple of themReturn value
average), the centered moment of order 2 (m2), the (sample) variance value normalized by the number of elements involved (variance) and the number of elements (count) involved is returned.variance, average m2 and count.wv = welford_corariance(kumi::cat(xs, ys))wxs = welford_variance(xs); wys = welford_variance(xs); wv = welford_variance(wxs, wys);