29 #ifndef CASA_EXTENDSPECIFIER_H 30 #define CASA_EXTENDSPECIFIER_H 34 #include <casacore/casa/aips.h> 35 #include <casacore/casa/Arrays/IPosition.h> 41 template<
class T>
class Block;
A Vector of integers, for indexing into Array<T> objects.
const IPosition & newShape() const
Return the new shape.
IPosition convertNew(const IPosition &oldShape) const
Convert a shape to the specification for the new shape.
const IPosition & newAxes() const
Return the new axes.
ExtendSpecifier & operator=(const ExtendSpecifier &other)
Assignment (copy semantics).
const IPosition & extendAxes() const
Return the axes to be extended (i.e.
ExtendSpecifier()
Default constructor generates empty IPositions.
const IPosition & oldOldAxes() const
Return the old axes (i.e.
const IPosition & oldShape() const
Return the old shape.
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape...
Specify which elements to extract from an n-dimensional array.
void fill(Block< Bool > &flags, const IPosition &axes) const
Fill the flags for the given axes.
const IPosition & stretchAxes() const
Return the axes to be stretched.
Specification of new and stretched lattice axes.
Slicer convert(IPosition &shape, const Slicer §ion) const
Convert the slicer to the specification for the old shape.
this file contains all the compiler specific defines
const IPosition & oldNewAxes() const
Return the old axes as in new shape.