STK++ 0.9.13
|
Visitor computing the mean of all the coefficients of the Array. More...
#include <STK_Visitors.h>
Public Types | |
typedef Type_ | Type |
typedef RemoveConst< Type >::Type | TypeConst |
Public Member Functions | |
MeanVisitor () | |
void | operator() (Type const &value, int i, int j) |
void | operator() (Type const &value, int i) |
TypeConst | result () const |
Public Attributes | |
Type | res_ |
int | nb_ |
Visitor computing the mean of all the coefficients of the Array.
Definition at line 242 of file STK_Visitors.h.
typedef Type_ STK::hidden::MeanVisitor< Type_ >::Type |
Definition at line 244 of file STK_Visitors.h.
typedef RemoveConst<Type>::Type STK::hidden::MeanVisitor< Type_ >::TypeConst |
Definition at line 245 of file STK_Visitors.h.
|
inline |
Definition at line 248 of file STK_Visitors.h.
|
inline |
Definition at line 251 of file STK_Visitors.h.
References STK::hidden::MeanVisitor< Type_ >::nb_, and STK::hidden::MeanVisitor< Type_ >::res_.
|
inline |
Definition at line 249 of file STK_Visitors.h.
References STK::hidden::MeanVisitor< Type_ >::nb_, and STK::hidden::MeanVisitor< Type_ >::res_.
|
inline |
Definition at line 253 of file STK_Visitors.h.
References STK::Arithmetic< Type >::NA(), STK::hidden::MeanVisitor< Type_ >::nb_, and STK::hidden::MeanVisitor< Type_ >::res_.
int STK::hidden::MeanVisitor< Type_ >::nb_ |
Definition at line 247 of file STK_Visitors.h.
Referenced by STK::hidden::MeanVisitor< Type_ >::operator()(), STK::hidden::MeanVisitor< Type_ >::operator()(), and STK::hidden::MeanVisitor< Type_ >::result().
Type STK::hidden::MeanVisitor< Type_ >::res_ |
Definition at line 246 of file STK_Visitors.h.
Referenced by STK::hidden::MeanVisitor< Type_ >::operator()(), STK::hidden::MeanVisitor< Type_ >::operator()(), and STK::hidden::MeanVisitor< Type_ >::result().