33 #include <casacore/casa/aips.h> 34 #include <casacore/casa/Arrays/IPosition.h> A Vector of integers, for indexing into Array<T> objects.
IPosition inferShapeFromSource(const IPosition &shape, IPosition &startResult, IPosition &endResult, IPosition &strideResult) const
This function checks all of the start, length (or end), and stride IPositions, and fills in missing v...
void fillEndLen()
Check the given start, end/length and stride.
Bool isFixed() const
Are all values fixed (i.e., no MimicSource given)?
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.
The end-values given in the constructor define the lengths.
const IPosition & end() const
Report the defined ending position.
void setEnd(const IPosition &end)
uInt nelements() const
The number of elements in this IPosition.
void setStart(const IPosition &start)
Set the start and end positions.
Bool operator==(const Slicer &) const
Equality.
define a (start,length,increment) along an axis
void fillFixed()
Fill the fixed flag.
Slicer & operator=(const Slicer &)
Assignment (copy semantics).
bool Bool
Define the standard types used by Casacore.
LengthOrLast
Define the possible interpretations of the end-value.
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.
const IPosition & length() const
Report the length of the resulting axes.
uInt ndim() const
Return the number of dimensions of the Slicer.
Slicer()
Construct a 1-dimensional Slicer.
const IPosition & start() const
Report the defined starting position.
this file contains all the compiler specific defines
The end-values given in the constructor define the trc.
void fillSlice(const Slice &, ssize_t &start, ssize_t &length, ssize_t &stride)
Fill in start, len and stride from a Slice.
const IPosition & stride() const
Report the defined stride.