casacore
|
Basic class for math on Array objects. More...
#include <ArrayMathBase.h>
Public Member Functions | |
virtual | ~ArrayFunctorBase () |
virtual RES | operator() (const Array< T > &) const =0 |
Basic class for math on Array objects.
The abstract base class ArrayFunctorBase is defined for functors to be used in functions like slidingXXX. Virtual functions instead of templated functions are used to avoid code bloat when used in functions like partialArrayMath. Because a reduction operation usually takes much more time than the call, using virtual functions hardly imposes a performance penalty.
Definition at line 53 of file ArrayMathBase.h.
|
inlinevirtual |
Definition at line 55 of file ArrayMathBase.h.
|
pure virtual |
Implemented in casacore::NFalseFunc< T, RES >, casacore::NTrueFunc< T, RES >, casacore::AnyFunc< T >, and casacore::AllFunc< T >.