#include <ArrayBase.h>
These are generally useful global functions which operate on all Arrays.
<linkfrom anchor="Array general global functions" classes="Array Vector Matrix Cube"> <here>Array general global functions</here> -- General global functions for Arrays. </linkfrom>
Definition at line 218 of file ArrayBase.h.
Public Member Functions | |
| uInt | ArrayVolume (uInt Ndim, const Int *Shape) |
| What is the volume of an N-dimensional array. | |
| uInt | ArrayIndexOffset (uInt Ndim, const Int *Shape, const Int *Origin, const Int *Inc, const IPosition &Index) |
| What is the linear index into an "Ndim" dimensional array of the given "Shape", "Origin", and "Increment" for a given IPosition Index. | |
| uInt | ArrayIndexOffset (uInt Ndim, const Int *Shape, const Int *Inc, const IPosition &Index) |
| uInt casa::ArrayBase_global_functions_Array_general_global_functions::ArrayVolume | ( | uInt | Ndim, | |
| const Int * | Shape | |||
| ) |
What is the volume of an N-dimensional array.
Shape[0]*Shape[1]*.\..*Shape[N-1]. An Array helper function.
| uInt casa::ArrayBase_global_functions_Array_general_global_functions::ArrayIndexOffset | ( | uInt | Ndim, | |
| const Int * | Shape, | |||
| const Int * | Inc, | |||
| const IPosition & | Index | |||
| ) |
1.5.1