casacore
|
Helper function for partialX functions. More...
#include <ArrayUtil.h>
Public Member Functions | |
size_t | partialFuncHelper (int &nelemCont, IPosition &resultShape, IPosition &incr, const IPosition &sourceShape, const IPosition &collapseAxes) |
Helper function for partialX functions.
Public interface
This is a specialized helper function for functions like partialSums. It determines the shape of the resulting array and calculates the result increments when iterating linearly through the source array. It returns the first result axis which indicates the number of the first contiguous collapse axes. The number of contiguous data points is returned in nelemCont.
Definition at line 184 of file ArrayUtil.h.
size_t casacore::ArrayUtil_global_functions_partialFuncHelper::partialFuncHelper | ( | int & | nelemCont, |
IPosition & | resultShape, | ||
IPosition & | incr, | ||
const IPosition & | sourceShape, | ||
const IPosition & | collapseAxes | ||
) |