26#ifndef CASA_ARRAYUTIL_2_H
27#define CASA_ARRAYUTIL_2_H
182size_t partialFuncHelper (
int& nelemCont,
218 bool alwaysCopy =
true);
221 bool alwaysCopy =
true);
269 bool alwaysCopy =
true);
301#include "ArrayUtil.tcc"
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.
TableExprNode array(const TableExprNode &values, const TableExprNodeSet &shape)
Create an array of the given shape and fill it with the values.
Array< T > concatenateArray(const Array< T > &left, const Array< T > &right)
Helper function for partialX functions.
size_t partialFuncHelper(int &nelemCont, IPosition &resultShape, IPosition &incr, const IPosition &sourceShape, const IPosition &collapseAxes)
Helper function for function reorderArray.
size_t reorderArrayHelper(IPosition &newShape, IPosition &incr, const IPosition &shape, const IPosition &newAxisOrder)
Reorder the axes of an array.
Array< T > reorderArray(const Array< T > &array, const IPosition &newAxisOrder, bool alwaysCopy=true)
Reverse the order of one or more axes of an array.
Array< T > reverseArray(const Array< T > &array, size_t axis, bool alwaysCopy=true)
Array< T > reverseArray(const Array< T > &array, const IPosition &reversedAxes, bool alwaysCopy=true)
Vector< std::string > strToVector(const std::string &string, char delim=',')
Vector< std::string > strToVector(const std::string &string, const std::regex &delim)