Module Arrays

Changes made in the current development cycle can be found in the changelog.

Description (classes)

A module implementing multidimensional arrays and operations.

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

Etymology

This module provides classes and global functions for multidimensional arrays.

Synopsis

Arrays have traditionally played an important role in scientific computation. While it is certainly true that some of the reliance on arrays was due to the paucity of other data structures in FORTRAN, it is also true that computation on arrays reflects the common occurrence of regularly sampled multi-dimensioned data in science.

The Lattices are a generalization of Arrays. They can handle memory- and disk-based arrays as well as other types of arrays (eg. expressions).

The module consists of various parts:

The detailed discussions for the classes and global functions will describe how to use them.


Classes

Array IO -- Input/output operators for Arrays. (full description)
Array general global functions -- General global functions for Arrays. (full description)
Array logical operations -- Logical operations for Arrays. (full description)
Array mathematical operations -- Mathematical operations for Arrays. (full description)
Array -- A templated N-D Array class with zero origin (full description)
Array -- Global functions for Matrix/Vector input/output using ASCII format. (full description)
ArrayAccessor -- Fast 1D accessor/iterator for nD array classes (full description)
ArrayAccessor_RT -- Specialization for run-time axes (full description)
ArrayBase -- Non-templated base class for templated Array class. (full description)
ArrayBaseAccessor -- Axis independent base for the ArrayAccessor classes (full description)
ArrayConformanceError -- An error thrown when two arrays do not conform (full description)
ArrayError -- The base class for all Array exception classes. (full description)
ArrayIndexError -- An error thrown when an index is out of range (full description)
ArrayIterator -- Iterate an Array cursor through another Array. (full description)
ArrayIteratorError -- An error thrown by an ArrayIterator (full description)
ArrayNDimError -- Thrown when two arrays have different dimensionality (full description)
ArrayPositionIterator -- Iterate an IPosition through the shape of an Array (full description)
ArrayShapeError -- An error thrown when two arrays have different shapes (full description)
ArraySlicerError -- An error thrown by an Slicer member function (full description)
AxesMapping -- Info about mapping array axes to another order. (full description)
AxesSpecifier -- Specification of axes to keep or remove (full description)
Axis -- Class to enumerate compile-time axis numeration (full description)
AxisN -- Class to specify run-time axis values (full description)
Cube -- A 3-D Specialization of the Array class (full description)
ExtendSpecifier -- Specification of new and stretched lattice axes (full description)
IPosition Arithmetic -- Arithmetic Operations for IPosition's (full description)
IPosition Indexing -- Indexing functions for IPosition's (full description)
IPosition Logical -- Logical operations for IPosition's (full description)
IPosition -- A Vector of integers, for indexing into Array objects. (full description)
Linear Algebra -- Linear algebra functions on Vectors and Matrices. (full description)
LogicalArray forwards -- Forward declarations for LogicalArrays. (full description)
LogicalArray -- Logical valued Arrays. (full description)
LogicalCube -- Logical valued Cubes. (full description)
LogicalMatrix -- Logical valued Matrices. (full description)
LogicalVector -- Logical valued Vectors. (full description)
MaskedArray IO -- Ascii input/output operations for MaskedArrays. (full description)
MaskedArray general global functions -- General global functions for MaskedArrays, and MaskedArrays and Arrays. (full description)
MaskedArray logical operations -- Logical operations for MaskedArrays, and between MaskedArrays and Arrays. (full description)
MaskedArray mathematical operations -- Mathematical operations for MaskedArrays (and with Arrays) (full description)
MaskedArray -- Class for masking an Array for operations on that Array. (full description)
MaskedLogicalArray forwards -- Forward declarations for MaskedLogicalArrays. (full description)
MaskedLogicalArray -- Masked LogicalArrays. (full description)
Matrix -- A 2-D Specialization of the Array class (full description)
MatrixIterator -- Iterate a Matrix cursor through another Array. (full description)
ReadOnlyArrayIterator -- Iterate a const Array cursor through a const Array. (full description)
ReadOnlyMatrixIterator -- Iterate a Matrix cursor through a R/O Array. (full description)
ReadOnlyVectorIterator -- Iterate a Vector cursor through another Array. (full description)
Slice -- define a (start,length,increment) along an axis (full description)
Slicer IO -- IO functions for Slicer's (full description)
Slicer -- Specify which elements to extract from an n-dimensional array (full description)
StorageInitPolicy -- A global enum used by some Array constructors. (full description)
Vector -- A 1-D Specialization of the Array class (full description)
VectorIterator -- Iterate an Vector cursor through another Array. (full description)
VectorSTLIterator -- AIPS++ Vector iterator (full description)
concatenateArray -- Concatenate two Arrays. (full description)
partialFuncHelper -- Helper function for partialX functions (full description)
reorderArray -- Reorder the axes of an array. (full description)
reorderArrayHelper -- Helper function for function reorderArray.. (full description)
stringToVector -- Split a String into its elements. (full description)