npstat::ArrayRange Struct Reference
Inheritance diagram for npstat::ArrayRange:
Detailed DescriptionUtility class for use in certain array iterations Constructor & Destructor Documentation◆ ArrayRange() [1/3]
Constructor from a given number of dimensions ◆ ArrayRange() [2/3]
The given interval is repeated for every dimension ◆ ArrayRange() [3/3]
Constructor which creates a range out of a shape which is used to represent the upper limit. The lower limit in each dimension is set to 0. Member Function Documentation◆ isCompatible()
Check for compatibility with a shape ◆ lowerLimits()
Get the lower range limits into an array. The length of the limit array should be at least equal to the dimensionality. ◆ operator<()
Operator for use with maps ◆ rangeLength()
Get the range into an array ◆ rangeSize()
How many elements will be iterated over? ◆ shape()
The shape which corresponds to this range (i.e., max - min in all dimensions) ◆ stripOuterLayer()
This method changes the range of this object so that for each dimension the minimum becomes larger by 1 and the maximum smaller by 1. ◆ upperLimits()
Get the upper range limits into an array The documentation for this struct was generated from the following file: Generated by 1.9.1 |