casa
5.7.0-16
|
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 57 of file ArrayMathBase.h.
|
inlinevirtual |
Definition at line 59 of file ArrayMathBase.h.
|
pure virtual |
Implemented in casacore::NFalseFunc< T, RES >, casacore::NTrueFunc< T, RES >, casacore::AnyFunc< T >, casacore::AllFunc< T >, casacore::ArrayPartMath_global_functions_Array_partial_operations::FractileFunc< T >, casacore::ArrayPartMath_global_functions_Array_partial_operations::MadfmFunc< T >, casacore::ArrayPartMath_global_functions_Array_partial_operations::MedianFunc< T >, casacore::ArrayPartMath_global_functions_Array_partial_operations::RmsFunc< T >, casacore::ArrayPartMath_global_functions_Array_partial_operations::AvdevFunc< T >, casacore::ArrayPartMath_global_functions_Array_partial_operations::StddevFunc< T >, casacore::ArrayPartMath_global_functions_Array_partial_operations::VarianceFunc< T >, casacore::ArrayPartMath_global_functions_Array_partial_operations::MeanFunc< T >, casacore::ArrayPartMath_global_functions_Array_partial_operations::MaxFunc< T >, casacore::ArrayPartMath_global_functions_Array_partial_operations::MinFunc< T >, casacore::ArrayPartMath_global_functions_Array_partial_operations::ProductFunc< T >, casacore::ArrayPartMath_global_functions_Array_partial_operations::SumSqrFunc< T >, and casacore::ArrayPartMath_global_functions_Array_partial_operations::SumFunc< T >.