![]() |
aimsdata 6.0.0
Neuroimaging data handling
|
Defines basic math functions that run on iterators. More...
#include <aims/math/mathelem.h>
Static Public Member Functions | |
| template<typename Iterator> | |
| static T | max (Iterator b, Iterator e, T default_value=carto::min_limit< T >()) |
| template<typename Iterator> | |
| static T | min (Iterator b, Iterator e, T default_value=std::numeric_limits< T >::max()) |
| template<typename Iterator> | |
| static T | median (Iterator b, Iterator e, T default_value=(T) 0) |
| template<typename Iterator> | |
| static T | notnull_median (Iterator b, Iterator e, T default_value=(T) 0) |
| template<typename Iterator> | |
| static T | mean (Iterator b, Iterator e) |
| template<typename Iterator> | |
| static T | notnull_mean (Iterator b, Iterator e) |
| template<typename Iterator> | |
| static T | majority (Iterator b, Iterator e, T default_value=(T) 0) |
| template<typename Iterator> | |
| static T | notnull_majority (Iterator b, Iterator e, T default_value=(T) 0) |
| template<typename Iterator> | |
| static T | extrema_difference (Iterator b, Iterator e) |
| template<typename Iterator> | |
| static T | sum (Iterator b, Iterator e) |
| template<typename Iterator> | |
| static T | variance (Iterator b, Iterator e) |
| template<typename Iterator> | |
| static T | stdev (Iterator b, Iterator e) |
Defines basic math functions that run on iterators.
They can be used with any iterators pointing to numeric values
Definition at line 117 of file mathelem.h.
|
inlinestatic |
Definition at line 276 of file mathelem.h.
References aims::absdiff(), max(), and min().
|
inlinestatic |
Definition at line 203 of file mathelem.h.
|
inlinestatic |
Definition at line 121 of file mathelem.h.
References aims::internal::is_min(), and carto::min_limit().
Referenced by extrema_difference().
|
inlinestatic |
Definition at line 172 of file mathelem.h.
References sum().
|
inlinestatic |
Definition at line 143 of file mathelem.h.
Referenced by aims::BorderFiller< T >::fillMedian().
|
inlinestatic |
Definition at line 132 of file mathelem.h.
References aims::internal::is_min(), and std::numeric_limits< typename _Tp >::max().
Referenced by extrema_difference().
|
inlinestatic |
Definition at line 238 of file mathelem.h.
|
inlinestatic |
Definition at line 187 of file mathelem.h.
References sum().
|
inlinestatic |
Definition at line 157 of file mathelem.h.
|
inlinestatic |
Definition at line 317 of file mathelem.h.
|
inlinestatic |
Definition at line 285 of file mathelem.h.
Referenced by mean(), and notnull_mean().
|
inlinestatic |
Definition at line 297 of file mathelem.h.