casa
5.7.0-16
|
Helper function for function reorderArray. More...
#include <ArrayUtil.h>
Public Member Functions | |
uInt | reorderArrayHelper (IPosition &newShape, IPosition &incr, const IPosition &shape, const IPosition &newAxisOrder) |
Helper function for function reorderArray.
Internal
This is a specialized helper function for function reorderArray. It determines the shape of the resulting array and calculates the result increments when iterating linearly through the source array. It returns the number of the first non-reordered axes.
Split off common non-templated code.
Definition at line 297 of file ArrayUtil.h.
uInt casacore::ArrayUtil_global_functions_reorderArrayHelper::reorderArrayHelper | ( | IPosition & | newShape, |
IPosition & | incr, | ||
const IPosition & | shape, | ||
const IPosition & | newAxisOrder | ||
) |