casa::ArrayBase_global_functions_Array_general_global_functions Struct Reference
[Arrays]

#include <ArrayBase.h>

List of all members.


Detailed Description

General global functions for Arrays.

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25
Test programs:
tArray

Prerequisite

Synopsis

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)


Member Function Documentation

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 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.

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 
)


The documentation for this struct was generated from the following file:
Generated on Tue Aug 26 22:32:04 2008 for NRAOCASA by  doxygen 1.5.1