STK++ 0.9.13
|
Compute the variance of the variable V. More...
#include <STK_Stat_Functors.h>
Public Types | |
typedef Derived::Type | Type |
Public Member Functions | |
VarianceOp (ExprBase< Derived > const &V) | |
constructor | |
Type const | operator() (bool unbiased) const |
template<class Weights > | |
Type const | operator() (ExprBase< Weights > const &w, bool unbiased) const |
Protected Attributes | |
Derived const & | V_ |
Compute the variance of the variable V.
Definition at line 398 of file STK_Stat_Functors.h.
typedef Derived::Type STK::Stat::VarianceOp< Derived >::Type |
Definition at line 400 of file STK_Stat_Functors.h.
|
inline |
constructor
Definition at line 402 of file STK_Stat_Functors.h.
References STK_STATIC_ASSERT_ONE_DIMENSION_ONLY.
|
inline |
unbiased | true if we want an unbiased estimate of the variance, false otherwise |
Definition at line 409 of file STK_Stat_Functors.h.
References STK::Stat::sum(), and STK::Stat::VarianceOp< Derived >::V_.
|
inline |
w | weights |
unbiased | true if we want an unbiased estimate of the variance, false otherwise |
Definition at line 443 of file STK_Stat_Functors.h.
References STK_STATIC_ASSERT_ONE_DIMENSION_ONLY, STK::Stat::sum(), and STK::Stat::VarianceOp< Derived >::V_.
|
protected |
Definition at line 466 of file STK_Stat_Functors.h.
Referenced by STK::Stat::VarianceOp< Derived >::operator()(), and STK::Stat::VarianceOp< Derived >::operator()().