Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.atnf.csiro.au/computing/software/casacore/casacore-1.2.0/doc/html/structcasa_1_1ArrayBase__global__functions__Array__general__global__functions.html
Дата изменения: Unknown Дата индексирования: Tue Feb 15 00:49:30 2011 Кодировка: Поисковые слова: п п п п п п п п |
General global functions for Arrays. More...
#include <ArrayBase.h>
Public Member Functions | |
size_t | ArrayVolume (uInt Ndim, const Int *Shape) |
What is the volume of an N-dimensional array. | |
size_t | ArrayIndexOffset (uInt Ndim, const ssize_t *Shape, const ssize_t *Origin, const ssize_t *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. | |
size_t | ArrayIndexOffset (uInt Ndim, const ssize_t *Shape, const ssize_t *Inc, const IPosition &Index) |
General global functions for Arrays.
These are generally useful global functions which operate on all Arrays.
Definition at line 247 of file ArrayBase.h.
size_t casa::ArrayBase_global_functions_Array_general_global_functions::ArrayIndexOffset | ( | uInt | Ndim, | |
const ssize_t * | Shape, | |||
const ssize_t * | Inc, | |||
const IPosition & | Index | |||
) |
size_t 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.