|
inlineconstexpr |
Parameters
xs...:the parameters can be a mix of floating values and previous results of calls to welford_averageReturn value
A struct containing The value of the arithmetic mean and the number of elements on which the mean was calculated is returned.
This struct is convertible to the average floating value. and possess two fields average and count.
wavg = welford_average(kumi::cat(xs, ys))wxs = welford_average(xs); wys = welford_average(xs); wavg = welford_average(wxs, wys);