Go to the documentation of this file.
28 #ifndef CASA_COMPOSITENUMBER_H
29 #define CASA_COMPOSITENUMBER_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Containers/Block.h>
uInt nextSmaller(const uInt value)
return the next smaller composite number
uInt nextSmallerEven(const uInt value)
return the next smaller even composite number
uInt nextLargerEven(const uInt value)
return the next larger even composite number
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
~CompositeNumber()
destructor
uInt nextLarger(const uInt value)
return the next larger composite number
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.
CompositeNumber(const uInt maxval=8192)
constructor: Note: if you later make a call with value > maxval, we will recalculate the list of comp...
void generate(const uInt maxval)
Bool isComposite(const uInt value)
returns True is value is composite
uInt nearestEven(const uInt value)
return the closest even composite number
uInt nearest(const uInt value)
return the nearest composite number