Go to the documentation of this file.
29 #ifndef CASA_AXESMAPPING_H
30 #define CASA_AXESMAPPING_H
34 #include <casacore/casa/aips.h>
35 #include <casacore/casa/Arrays/IPosition.h>
Specify which elements to extract from an n-dimensional array.
A Vector of integers, for indexing into Array<T> objects.
IPosition posToNew(const IPosition &pos) const
Map an old position to the new one.
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.
const IPosition & getToOld() const
Get the mapping of new->old.
IPosition shapeToOld(const IPosition &shape) const
Map a new position or shape to the old one.
Slicer slicerToOld(const Slicer &slicer) const
Map a new position or shape to the old one.
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape.
AxesMapping()
The default constructor creates empty maps.
IPosition shapeToNew(const IPosition &shape) const
Map an old shape to the new one.
Bool isReordered() const
Is the axes order reordered?
this file contains all the compiler specific defines
AxesMapping & operator=(const AxesMapping &other)
Assignment (copy semantics).
Info about mapping array axes to another order.
bool Bool
Define the standard types used by Casacore.
const IPosition & getToNew() const
Get the mapping of old->new.
Bool isRemoved() const
Are axes removed?