Marray
Namespaces | Classes | Enumerations | Functions | Variables
andres Namespace Reference

The public API. More...

Namespaces

namespace  hdf5
 HDF5 import/export support.

Classes

struct  InitializationSkipping
 Flag to indicate initialization skipping. More...
class  View
 Array-Interface to an interval of memory. More...
class  Iterator
 STL-compliant random access iterator for View and Marray. More...
class  Marray
 Runtime-Flexible multi-dimensional array. More...
class  ViewExpression
 Expression template for efficient arithmetic operations. More...

Enumerations

enum  StringStyle { TableStyle, MatrixStyle }
enum  CoordinateOrder { FirstMajorOrder, LastMajorOrder }

Functions

template<class T1 , class T2 , bool isConst, class A >
View< T1, false, A > & operator+= (View< T1, false, A > &v, const View< T2, isConst, A > &w)
template<class T , class A >
View< T, false, A > & operator++ (View< T, false, A > &v)
template<class T , class A >
Marray< T, A > operator++ (Marray< T, A > &in, int dummy)
template<class T1 , class T2 , bool isConst, class A >
View< T1, false, A > & operator-= (View< T1, false, A > &v, const View< T2, isConst, A > &w)
template<class T , class A >
View< T, false, A > & operator-- (View< T, false, A > &v)
template<class T , class A >
Marray< T, A > operator-- (Marray< T, A > &in, int dummy)
template<class T1 , class T2 , bool isConst, class A >
View< T1, false, A > & operator*= (View< T1, false, A > &v, const View< T2, isConst, A > &w)
template<class T1 , class T2 , bool isConst, class A >
View< T1, false, A > & operator/= (View< T1, false, A > &v, const View< T2, isConst, A > &w)
template<class E1 , class T1 , class E2 , class T2 >
const BinaryViewExpression< E1,
T1, E2, T2,
marray_detail::Plus< T1, T2,
typename
marray_detail::PromoteType< T1,
T2 >::type > > 
operator+ (const ViewExpression< E1, T1 > &expression1, const ViewExpression< E2, T2 > &expression2)
template<class E , class T >
const ViewExpression< E, T > & operator+ (const ViewExpression< E, T > &expression)
template<class E1 , class T1 , class E2 , class T2 >
const BinaryViewExpression< E1,
T1, E2, T2,
marray_detail::Minus< T1, T2,
typename
marray_detail::PromoteType< T1,
T2 >::type > > 
operator- (const ViewExpression< E1, T1 > &expression1, const ViewExpression< E2, T2 > &expression2)
template<class E , class T >
const UnaryViewExpression< E,
T, marray_detail::Negate< T > > 
operator- (const ViewExpression< E, T > &expression)
template<class E1 , class T1 , class E2 , class T2 >
const BinaryViewExpression< E1,
T1, E2, T2,
marray_detail::Times< T1, T2,
typename
marray_detail::PromoteType< T1,
T2 >::type > > 
operator* (const ViewExpression< E1, T1 > &expression1, const ViewExpression< E2, T2 > &expression2)
template<class E1 , class T1 , class E2 , class T2 >
const BinaryViewExpression< E1,
T1, E2, T2,
marray_detail::DividedBy< T1,
T2, typename
marray_detail::PromoteType< T1,
T2 >::type > > 
operator/ (const ViewExpression< E1, T1 > &expression1, const ViewExpression< E2, T2 > &expression2)

Variables

static const bool Const = true
 Flag to be used with the template parameter isConst of View and Iterator.
static const bool Mutable = false
 Flag to be used with the template parameter isConst of View and Iterator.
static const CoordinateOrder defaultOrder = LastMajorOrder
 Default order of coordinate tuples.
static const InitializationSkipping SkipInitialization = InitializationSkipping()
 Flag to indicate initialization skipping.
const bool MARRAY_NO_DEBUG = false
 General assertion testing enabled.
const bool MARRAY_NO_ARG_TEST = false
 Argument testing enabled.

Detailed Description

The public API.

Enumeration Type Documentation

Enumerator:
FirstMajorOrder 
LastMajorOrder 

Definition at line 32 of file marray.hxx.

Enumerator:
TableStyle 
MatrixStyle 

Definition at line 31 of file marray.hxx.

Function Documentation

template<class E1 , class T1 , class E2 , class T2 >
const BinaryViewExpression<E1, T1, E2, T2, marray_detail::Times<T1, T2, typename marray_detail::PromoteType<T1, T2>::type> > andres::operator* ( const ViewExpression< E1, T1 > &  expression1,
const ViewExpression< E2, T2 > &  expression2 
)
inline

Definition at line 3131 of file marray.hxx.

template<class T1 , class T2 , bool isConst, class A >
View<T1, false, A>& andres::operator*= ( View< T1, false, A > &  v,
const View< T2, isConst, A > &  w 
)
inline

Definition at line 3025 of file marray.hxx.

template<class E1 , class T1 , class E2 , class T2 >
const BinaryViewExpression<E1, T1, E2, T2, marray_detail::Plus<T1, T2, typename marray_detail::PromoteType<T1, T2>::type> > andres::operator+ ( const ViewExpression< E1, T1 > &  expression1,
const ViewExpression< E2, T2 > &  expression2 
)
inline

Definition at line 3049 of file marray.hxx.

template<class E , class T >
const ViewExpression<E,T>& andres::operator+ ( const ViewExpression< E, T > &  expression)
inline

Definition at line 3063 of file marray.hxx.

template<class T , class A >
View<T, false, A>& andres::operator++ ( View< T, false, A > &  v)
inline

Definition at line 2962 of file marray.hxx.

template<class T , class A >
Marray<T, A> andres::operator++ ( Marray< T, A > &  in,
int  dummy 
)
inline

Definition at line 2974 of file marray.hxx.

template<class T1 , class T2 , bool isConst, class A >
View<T1, false, A>& andres::operator+= ( View< T1, false, A > &  v,
const View< T2, isConst, A > &  w 
)
inline

Definition at line 2949 of file marray.hxx.

template<class E1 , class T1 , class E2 , class T2 >
const BinaryViewExpression<E1, T1, E2, T2, marray_detail::Minus<T1, T2, typename marray_detail::PromoteType<T1, T2>::type> > andres::operator- ( const ViewExpression< E1, T1 > &  expression1,
const ViewExpression< E2, T2 > &  expression2 
)
inline

Definition at line 3105 of file marray.hxx.

template<class E , class T >
const UnaryViewExpression<E,T,marray_detail::Negate<T> > andres::operator- ( const ViewExpression< E, T > &  expression)
inline

Definition at line 3119 of file marray.hxx.

template<class T , class A >
View<T, false, A>& andres::operator-- ( View< T, false, A > &  v)
inline

Definition at line 3000 of file marray.hxx.

template<class T , class A >
Marray<T, A> andres::operator-- ( Marray< T, A > &  in,
int  dummy 
)
inline

Definition at line 3012 of file marray.hxx.

template<class T1 , class T2 , bool isConst, class A >
View<T1, false, A>& andres::operator-= ( View< T1, false, A > &  v,
const View< T2, isConst, A > &  w 
)
inline

Definition at line 2987 of file marray.hxx.

template<class E1 , class T1 , class E2 , class T2 >
const BinaryViewExpression<E1, T1, E2, T2, marray_detail::DividedBy<T1, T2, typename marray_detail::PromoteType<T1, T2>::type> > andres::operator/ ( const ViewExpression< E1, T1 > &  expression1,
const ViewExpression< E2, T2 > &  expression2 
)
inline

Definition at line 3146 of file marray.hxx.

template<class T1 , class T2 , bool isConst, class A >
View<T1, false, A>& andres::operator/= ( View< T1, false, A > &  v,
const View< T2, isConst, A > &  w 
)
inline

Definition at line 3037 of file marray.hxx.

Variable Documentation

const bool andres::Const = true
static

Flag to be used with the template parameter isConst of View and Iterator.

Definition at line 35 of file marray.hxx.

const CoordinateOrder andres::defaultOrder = LastMajorOrder
static

Default order of coordinate tuples.

Definition at line 37 of file marray.hxx.

const bool andres::MARRAY_NO_ARG_TEST = false

Argument testing enabled.

Definition at line 67 of file marray.hxx.

const bool andres::MARRAY_NO_DEBUG = false

General assertion testing enabled.

Definition at line 66 of file marray.hxx.

const bool andres::Mutable = false
static

Flag to be used with the template parameter isConst of View and Iterator.

Definition at line 36 of file marray.hxx.

const InitializationSkipping andres::SkipInitialization = InitializationSkipping()
static

Flag to indicate initialization skipping.

Definition at line 38 of file marray.hxx.