29 #ifndef CASA_AXESMAPPING_2_H
30 #define CASA_AXESMAPPING_2_H
AxesMapping(const IPosition &oldToNew)
Construct it with the mapping from old to new axes order.
IPosition posToNew(const IPosition &pos) const
Map an old position to the new one.
IPosition shapeToOld(const IPosition &shape) const
Map a new position or shape to the old one.
const IPosition & getToOld() const
Get the mapping of new->old.
bool isRemoved() const
Are axes removed?
IPosition posToOld(const IPosition &pos) const
Map a new position or shape to the old one.
Slicer slicerToNew(const Slicer &slicer) const
Map an old shape to the new one.
IPosition shapeToNew(const IPosition &shape) const
Map an old shape to the new one.
AxesMapping()
The default constructor creates empty maps.
Slicer slicerToOld(const Slicer &slicer) const
Map a new position or shape to the old one.
const IPosition & getToNew() const
Get the mapping of old->new.
bool isReordered() const
Is the axes order reordered?
this file contains all the compiler specific defines
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape.