casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
casacore::ArrayUtil_global_functions_partialFuncHelper Struct Reference

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)
 

Detailed Description

Helper function for partialX functions.

Intended use:

Public interface

Synopsis

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.

Member Function Documentation

uInt casacore::ArrayUtil_global_functions_partialFuncHelper::partialFuncHelper ( Int nelemCont,
IPosition resultShape,
IPosition incr,
const IPosition sourceShape,
const IPosition collapseAxes 
)

The documentation for this struct was generated from the following file: