casacore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
casacore::ArrayPartMath_global_functions_Array_partial_operations::MedianFunc< T, Alloc > Class Template Reference

#include <ArrayPartMath.h>

Inheritance diagram for casacore::ArrayPartMath_global_functions_Array_partial_operations::MedianFunc< T, Alloc >:
casacore::ArrayFunctorBase< T >

Public Member Functions

 MedianFunc (bool sorted=false, bool takeEvenMean=true, bool inPlace=false)
 
virtual ~MedianFunc ()
 
virtual T operator() (const Array< T, Alloc > &arr) const finaloverride
 
- Public Member Functions inherited from casacore::ArrayFunctorBase< T >
virtual ~ArrayFunctorBase ()
 
virtual T operator() (const Array< T > &) const =0
 

Private Attributes

bool itsSorted
 
bool itsTakeEvenMean
 
bool itsInPlace
 
std::vector< T > itsTmp
 

Detailed Description

template<typename T, typename Alloc = std::allocator<T>>
class casacore::ArrayPartMath_global_functions_Array_partial_operations::MedianFunc< T, Alloc >

Definition at line 249 of file ArrayPartMath.h.

Constructor & Destructor Documentation

template<typename T , typename Alloc = std::allocator<T>>
casacore::ArrayPartMath_global_functions_Array_partial_operations::MedianFunc< T, Alloc >::MedianFunc ( bool  sorted = false,
bool  takeEvenMean = true,
bool  inPlace = false 
)
inlineexplicit

Definition at line 251 of file ArrayPartMath.h.

template<typename T , typename Alloc = std::allocator<T>>
virtual casacore::ArrayPartMath_global_functions_Array_partial_operations::MedianFunc< T, Alloc >::~MedianFunc ( )
inlinevirtual

Definition at line 254 of file ArrayPartMath.h.

Member Function Documentation

template<typename T , typename Alloc = std::allocator<T>>
virtual T casacore::ArrayPartMath_global_functions_Array_partial_operations::MedianFunc< T, Alloc >::operator() ( const Array< T, Alloc > &  arr) const
inlinefinaloverridevirtual

Definition at line 255 of file ArrayPartMath.h.

References casacore::median().

Member Data Documentation

template<typename T , typename Alloc = std::allocator<T>>
bool casacore::ArrayPartMath_global_functions_Array_partial_operations::MedianFunc< T, Alloc >::itsInPlace
private

Definition at line 260 of file ArrayPartMath.h.

template<typename T , typename Alloc = std::allocator<T>>
bool casacore::ArrayPartMath_global_functions_Array_partial_operations::MedianFunc< T, Alloc >::itsSorted
private

Definition at line 258 of file ArrayPartMath.h.

template<typename T , typename Alloc = std::allocator<T>>
bool casacore::ArrayPartMath_global_functions_Array_partial_operations::MedianFunc< T, Alloc >::itsTakeEvenMean
private

Definition at line 259 of file ArrayPartMath.h.

template<typename T , typename Alloc = std::allocator<T>>
std::vector<T> casacore::ArrayPartMath_global_functions_Array_partial_operations::MedianFunc< T, Alloc >::itsTmp
mutableprivate

Definition at line 261 of file ArrayPartMath.h.


The documentation for this class was generated from the following file: