casa
5.7.0-16
|
Helper function for partialX functions. More...
#include <ArrayUtil.h>
Public Member Functions | |
uInt | 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 186 of file ArrayUtil.h.
uInt casacore::ArrayUtil_global_functions_partialFuncHelper::partialFuncHelper | ( | Int & | nelemCont, |
IPosition & | resultShape, | ||
IPosition & | incr, | ||
const IPosition & | sourceShape, | ||
const IPosition & | collapseAxes | ||
) |