|
STK++ 0.9.13
|
Compute the sum of the variable V. More...
#include <STK_Stat_Functors.h>
Public Types | |
| typedef Derived::Type | Type |
Public Member Functions | |
| SumOp (ExprBase< Derived > const &V) | |
| constructor | |
| Type const | operator() () const |
| template<class Weights > | |
| Type const | operator() (ExprBase< Weights > const &w) const |
Protected Attributes | |
| Derived const & | V_ |
Compute the sum of the variable V.
Definition at line 219 of file STK_Stat_Functors.h.
| typedef Derived::Type STK::Stat::SumOp< Derived >::Type |
Definition at line 221 of file STK_Stat_Functors.h.
|
inline |
constructor
Definition at line 223 of file STK_Stat_Functors.h.
References STK_STATIC_ASSERT_ONE_DIMENSION_ONLY.
|
inline |
![\[ \sum_{i=1}^n V(i) \]](form_291.png)
Definition at line 228 of file STK_Stat_Functors.h.
References STK::Stat::sum(), and STK::Stat::SumOp< Derived >::V_.
|
inline |
![\[ \hat{\mu} = \sum_{i=1}^n w(i) V(i). \]](form_292.png)
| w | the weights |
Definition at line 239 of file STK_Stat_Functors.h.
References STK_STATIC_ASSERT_ONE_DIMENSION_ONLY, STK::Stat::sum(), and STK::Stat::SumOp< Derived >::V_.
|
protected |
Definition at line 248 of file STK_Stat_Functors.h.
Referenced by STK::Stat::SumOp< Derived >::operator()(), and STK::Stat::SumOp< Derived >::operator()().