casacore
|
Helper function for function reorderArray. More...
#include <ArrayUtil.h>
Public Member Functions | |
size_t | 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 295 of file ArrayUtil.h.
size_t casacore::ArrayUtil_global_functions_reorderArrayHelper::reorderArrayHelper | ( | IPosition & | newShape, |
IPosition & | incr, | ||
const IPosition & | shape, | ||
const IPosition & | newAxisOrder | ||
) |