// ExtendSpecifier is a class internally used by casacore class
// ExtendLattice.
// It holds the information which axes are stretched and which axes
// are new. Note that a stretched axis has to have length 1 in the
// original shape.
//
// The class only contains the functionality needed by ExtendLattice.
// which are (mainly) 2 conversion functions. One function converts
// a slicer from the extended lattice to the original lattice, so
// ExtendLattice can read the correct data.
// The other function converts a shape in the original lattice to the
// shape in the extended lattice.
//
Some data is precalculated for more efficient processing
// of the conversion of slicers and shapes.
//
//