Skip to content

Function variance

function variance(const E1 &) base

template <input_expression E1, typename T = expression_value_type<E1>>
KFR_FUNCTION T variance(const E1& x)

Computes the variance of the given input expression.

Template parameters
E1 The type of the input expression.
T The value type of the expression elements.
Parameters
x The input expression for which the variance is to be computed. Must be a sized expression.
Returns
The variance of the elements in the input expression.

Fully qualified name: kfr::variance(const E1 &)

Declared at base/reduce.hpp:585

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.