28 #ifndef CASA_COMPOSITENUMBER_H
29 #define CASA_COMPOSITENUMBER_H
This class generates composite numbers.
uInt nextSmallerEven(const uInt value)
return the next smaller even composite number
CompositeNumber(const uInt maxval=8192)
constructor: Note: if you later make a call with value > maxval, we will recalculate the list of comp...
uInt nextLargerEven(const uInt value)
return the next larger even composite number
uInt nearestEven(const uInt value)
return the closest even composite number
void generate(const uInt maxval)
Bool isComposite(const uInt value)
returns True is value is composite
~CompositeNumber()
destructor
bool Bool
Define the standard types used by Casacore.
uInt nearest(const uInt value)
return the nearest composite number
uInt nextSmaller(const uInt value)
return the next smaller composite number
uInt nextLarger(const uInt value)
return the next larger composite number
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.