28 #ifndef CASA_COMPOSITENUMBER_H
29 #define CASA_COMPOSITENUMBER_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Containers/Block.h>
uInt nearest(const uInt value)
return the nearest composite number
uInt nextSmallerEven(const uInt value)
return the next smaller even composite number
void generate(const uInt maxval)
uInt nextLargerEven(const uInt value)
return the next larger even composite number
~CompositeNumber()
destructor
uInt nextLarger(const uInt value)
return the next larger composite number
uInt nearestEven(const uInt value)
return the closest 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...
Bool isComposite(const uInt value)
returns True is value is composite
uInt nextSmaller(const uInt value)
return the next smaller composite number
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.