28 #ifndef CASA_MASKARRMATH_H
29 #define CASA_MASKARRMATH_H
441 {
return madfm (a, sorted, (a.
nelements() <= 100)); }
527 template <
typename T,
typename FuncType>
530 const FuncType& funcObj);
556 template <
typename T,
typename FuncType>
559 const FuncType& funcObj,
565 #ifndef CASACORE_NO_AUTO_TEMPLATES
566 #include <casacore/casa/Arrays/MaskArrMath.tcc>
567 #endif //# CASACORE_NO_AUTO_TEMPLATES
A Vector of integers, for indexing into Array<T> objects.
LatticeExprNode log10(const LatticeExprNode &expr)
T operator()(const MaskedArray< T > &arr) const
T operator()(const MaskedArray< T > &arr) const
LatticeExprNode log(const LatticeExprNode &expr)
LatticeExprNode median(const LatticeExprNode &expr)
T operator()(const MaskedArray< T > &arr) const
LatticeExprNode operator/(const LatticeExprNode &left, const LatticeExprNode &right)
LatticeExprNode imag(const LatticeExprNode &expr)
TableExprNode array(const TableExprNode &values, const TableExprNodeSet &shape)
Create an array of the given shape and fill it with the values.
LatticeExprNode sum(const LatticeExprNode &expr)
LatticeExprNode max(const LatticeExprNode &left, const LatticeExprNode &right)
MaskedMadfmFunc(Bool sorted=False, Bool takeEvenMean=True)
uInt nelements() const
The number of elements of this masked array.
LatticeExprNode exp(const LatticeExprNode &expr)
T operator()(const MaskedArray< T > &arr) const
TableExprNode marray(const TableExprNode &array, const TableExprNode &mask)
Form a masked array.
LatticeExprNode floor(const LatticeExprNode &expr)
MVEarthMagnetic operator*(const RotMatrix &left, const MVEarthMagnetic &right)
Rotate a EarthMagnetic vector with rotation matrix and other multiplications.
LatticeExprNode cos(const LatticeExprNode &expr)
Class for masking an Array for operations on that Array.
LatticeExprNode tanh(const LatticeExprNode &expr)
LatticeExprNode min(const LatticeExprNode &left, const LatticeExprNode &right)
LatticeExprNode avdev(const LatticeExprNode &expr)
LatticeExprNode abs(const LatticeExprNode &expr)
Numerical 1-argument functions which result in a real number regardless of input expression type...
T operator()(const MaskedArray< T > &arr) const
LatticeExprNode sqrt(const LatticeExprNode &expr)
LatticeExprNode tan(const LatticeExprNode &expr)
void indgen(TableVector< T > &tv, Int start, Int inc)
LatticeExprNode atan(const LatticeExprNode &expr)
TableExprNode product(const TableExprNode &array)
bool Bool
Define the standard types used by Casacore.
MaskedArray< T > real(const MaskedArray< std::complex< T >> &carray)
Extracts the real part of a complex array into an array of floats.
void minMax(T &min, T &max, const TableVector< T > &tv)
T median(const MaskedArray< T > &a, Bool sorted=False)
The median of "a" is a(n/2).
MaskedArray< T > boxedArrayMath(const MaskedArray< T > &array, const IPosition &boxSize, const FuncType &funcObj)
Apply the given ArrayMath reduction function objects to each box in the array.
TableExprNode cube(const TableExprNode &node)
LatticeExprNode stddev(const LatticeExprNode &expr)
template <class T, class U> class vector;
LatticeExprNode atan2(const LatticeExprNode &left, const LatticeExprNode &right)
Numerical 2-argument functions.
LatticeExprNode operator+(const LatticeExprNode &expr)
Global functions operating on a LatticeExprNode.
T operator()(const MaskedArray< T > &arr) const
T operator()(const MaskedArray< T > &arr) const
LatticeExprNode fmod(const LatticeExprNode &left, const LatticeExprNode &right)
LatticeExprNode asin(const LatticeExprNode &expr)
Float operator()(const MaskedArray< Float > &arr) const
MaskedArray< T > imag(const MaskedArray< std::complex< T >> &carray)
Extracts the imaginary part of a complex array into an array of floats.
LatticeExprNode mean(const LatticeExprNode &expr)
TableExprNode rms(const TableExprNode &array)
LatticeExprNode sinh(const LatticeExprNode &expr)
LatticeExprNode acos(const LatticeExprNode &expr)
TableExprNode square(const TableExprNode &node)
T operator()(const MaskedArray< T > &arr) const
Array< T > slidingArrayMath(const MaskedArray< T > &array, const IPosition &halfBoxSize, const FuncType &funcObj, Bool fillEdge=True)
Apply for each element in the array the given ArrayMath reduction function object to the box around t...
LatticeExprNode operator-(const LatticeExprNode &expr)
T madfm(const MaskedArray< T > &a, Bool sorted=False)
The median absolute deviation from the median.
LatticeExprNode variance(const LatticeExprNode &expr)
LatticeExprNode ceil(const LatticeExprNode &expr)
LatticeExprNode pow(const LatticeExprNode &left, const LatticeExprNode &right)
LatticeExprNode cosh(const LatticeExprNode &expr)
LatticeExprNode real(const LatticeExprNode &expr)
LatticeExprNode sin(const LatticeExprNode &expr)
Numerical 1-argument functions.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.
T operator()(const MaskedArray< T > &arr) const