STK++ 0.9.13
|
Visitor computing safely 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 | |
MeanSafeVisitor () | |
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 safely the mean of all the coefficients of the Array.
Definition at line 261 of file STK_Visitors.h.
typedef Type_ STK::hidden::MeanSafeVisitor< Type_ >::Type |
Definition at line 263 of file STK_Visitors.h.
typedef RemoveConst<Type>::Type STK::hidden::MeanSafeVisitor< Type_ >::TypeConst |
Definition at line 264 of file STK_Visitors.h.
|
inline |
Definition at line 267 of file STK_Visitors.h.
|
inline |
Definition at line 273 of file STK_Visitors.h.
References STK::hidden::MeanSafeVisitor< Type_ >::nb_, and STK::hidden::MeanSafeVisitor< Type_ >::res_.
|
inline |
Definition at line 268 of file STK_Visitors.h.
References STK::hidden::MeanSafeVisitor< Type_ >::nb_, and STK::hidden::MeanSafeVisitor< Type_ >::res_.
|
inline |
Definition at line 278 of file STK_Visitors.h.
References STK::Arithmetic< Type >::NA(), STK::hidden::MeanSafeVisitor< Type_ >::nb_, and STK::hidden::MeanSafeVisitor< Type_ >::res_.
int STK::hidden::MeanSafeVisitor< Type_ >::nb_ |
Definition at line 266 of file STK_Visitors.h.
Referenced by STK::hidden::MeanSafeVisitor< Type_ >::operator()(), STK::hidden::MeanSafeVisitor< Type_ >::operator()(), and STK::hidden::MeanSafeVisitor< Type_ >::result().
Type STK::hidden::MeanSafeVisitor< Type_ >::res_ |
Definition at line 265 of file STK_Visitors.h.
Referenced by STK::hidden::MeanSafeVisitor< Type_ >::operator()(), STK::hidden::MeanSafeVisitor< Type_ >::operator()(), and STK::hidden::MeanSafeVisitor< Type_ >::result().