Go to the documentation of this file.
28 #ifndef CASA_ARRAYUTIL_H
29 #define CASA_ARRAYUTIL_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/casa/Arrays/Vector.h>
35 #include <casacore/casa/BasicSL/String.h>
305 #ifndef CASACORE_NO_AUTO_TEMPLATES
306 #include <casacore/casa/Arrays/ArrayUtil.tcc>
307 #endif //# CASACORE_NO_AUTO_TEMPLATES
Array< T > reverseArray(const Array< T > &array, uInt axis, Bool alwaysCopy=True)
Vector< String > stringToVector(const String &string, char delim=',')
A Vector of integers, for indexing into Array<T> objects.
uInt reorderArrayHelper(IPosition &newShape, IPosition &incr, const IPosition &shape, const IPosition &newAxisOrder)
Array< T > reverseArray(const Array< T > &array, const IPosition &reversedAxes, Bool alwaysCopy=True)
Array< T > concatenateArray(const Array< T > &left, const Array< T > &right)
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape.
Reverse the order of one or more axes of an array.
this file contains all the compiler specific defines
Split a String into its elements.
TableExprNode array(const TableExprNode &values, const TableExprNodeSet &shape)
Create an array of the given shape and fill it with the values.
Helper function for function reorderArray.
uInt partialFuncHelper(Int &nelemCont, IPosition &resultShape, IPosition &incr, const IPosition &sourceShape, const IPosition &collapseAxes)
template <class T, class U> class vector;
String: the storage and methods of handling collections of characters.
Array< T > reorderArray(const Array< T > &array, const IPosition &newAxisOrder, Bool alwaysCopy=True)
bool Bool
Define the standard types used by Casacore.
Regular expression class.
Vector< String > stringToVector(const String &string, const Regex &delim)
A 1-D Specialization of the Array class.
Helper function for partialX functions.
Reorder the axes of an array.