STK++ 0.9.13
|
Compute the variance of the variable V when the mean is given. More...
#include <STK_Stat_Functors.h>
Public Types | |
typedef Derived::Type | Type |
Public Member Functions | |
VarianceWithFixedMeanOp (ExprBase< Derived > const &V) | |
constructor | |
Type const | operator() (Type const &mu, bool unbiased) const |
template<class Weights > | |
Type const | operator() (ExprBase< Weights > const &w, Type const &mu, bool unbiased) const |
Protected Attributes | |
Derived const & | V_ |
Compute the variance of the variable V when the mean is given.
Definition at line 558 of file STK_Stat_Functors.h.
typedef Derived::Type STK::Stat::VarianceWithFixedMeanOp< Derived >::Type |
Definition at line 560 of file STK_Stat_Functors.h.
|
inline |
constructor
Definition at line 562 of file STK_Stat_Functors.h.
References STK_STATIC_ASSERT_ONE_DIMENSION_ONLY.
|
inline |
w | weights |
mu | the mean |
unbiased | true if we want an unbiased estimate of the variance, false otherwise |
Definition at line 606 of file STK_Stat_Functors.h.
References STK_STATIC_ASSERT_ONE_DIMENSION_ONLY, STK::Stat::sum(), and STK::Stat::VarianceWithFixedMeanOp< Derived >::V_.
|
inline |
mu | the fixed mean |
unbiased | true if we want an unbiased estimate of the variance, false otherwise |
Definition at line 575 of file STK_Stat_Functors.h.
References STK::Stat::sum(), and STK::Stat::VarianceWithFixedMeanOp< Derived >::V_.
|
protected |
Definition at line 628 of file STK_Stat_Functors.h.
Referenced by STK::Stat::VarianceWithFixedMeanOp< Derived >::operator()(), and STK::Stat::VarianceWithFixedMeanOp< Derived >::operator()().