|
| enum | { Length = length
} |
| |
|
typedef T | value_type |
| |
|
| Array () |
| | The default constructor.
|
| |
|
template<template< int > class CheckingPolicy2> |
| | Array (const Array< T, length, CheckingPolicy2 > &) |
| | Copy constructor copies the values.
|
| |
|
template<class Operator > |
| | Array (const ArrayExpression< Operator, length > &) |
| | Construct using an array expression.
|
| |
|
| Array (const T &) |
| | Constructor for length=1 arrays setting the data explicitely.
|
| |
|
| Array (const T &, const T &) |
| | Constructor for length=2 arrays setting the data explicitely.
|
| |
|
| Array (const T &, const T &, const T &) |
| | Constructor for length=3 arrays setting the data explicitely.
|
| |
|
| Array (const T &, const T &, const T &, const T &) |
| | Constructor for length=4 arrays setting the data explicitely.
|
| |
|
| Array (const T &, const T &, const T &, const T &, const T &) |
| | Constructor for length=5 arrays setting the data explicitely.
|
| |
|
| Array (const T &, const T &, const T &, const T &, const T &, const T &) |
| | Constructor for length=6 arrays setting the data explicitely.
|
| |
|
| Array (const T &, const T &, const T &, const T &, const T &, const T &, const T &) |
| | Constructor for length=7 arrays setting the data explicitely.
|
| |
|
| Array (const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &) |
| | Constructor for length=8 arrays setting the data explicitely.
|
| |
|
| Array (const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &) |
| | Constructor for length=9 arrays setting the data explicitely.
|
| |
|
| Array (const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &, const T &) |
| | Constructor for length=10 arrays setting the data explicitely.
|
| |
|
T & | operator[] (int) |
| | Accessor operator.
|
| |
|
T | operator[] (int) const |
| | Constant accessor operator.
|
| |
|
T & | at (int) |
| | Accessor operator.
|
| |
|
T | at (int) const |
| | Constant accessor operator.
|
| |
| template<class T2 , template< int > class CheckingPolicy2> |
| Array< T, length, CheckingPolicy > & | operator= (const Array< T2, length, CheckingPolicy2 > &) |
| |
|
template<class Operator > |
| Array< T, length, CheckingPolicy > & | operator= (const ArrayExpression< Operator, length > &) |
| | Assignment operator using an array expression.
|
| |
| template<class T2 , template< int > class CheckingPolicy2> |
| Array< T, length, CheckingPolicy > & | operator+= (const Array< T2, length, CheckingPolicy2 > &) |
| |
| template<class T2 , template< int > class CheckingPolicy2> |
| Array< T, length, CheckingPolicy > & | operator*= (const Array< T2, length, CheckingPolicy2 > &) |
| |
| template<class T2 , template< int > class CheckingPolicy2> |
| Array< T, length, CheckingPolicy > & | operator/= (const Array< T2, length, CheckingPolicy2 > &) |
| |
| template<class T2 , template< int > class CheckingPolicy2> |
| Array< T, length, CheckingPolicy > & | operator-= (const Array< T2, length, CheckingPolicy2 > &) |
| |
| template<typename T2 > |
| Array< T, length, CheckingPolicy > & | operator+= (const T2) |
| |
| template<typename T2 > |
| Array< T, length, CheckingPolicy > & | operator-= (const T2) |
| |
| template<typename T2 > |
| Array< T, length, CheckingPolicy > & | operator*= (const T2) |
| |
| template<typename T2 > |
| Array< T, length, CheckingPolicy > & | operator/= (const T2) |
| |
|
template<class Operator > |
| Array< T, length, CheckingPolicy > & | operator+= (const ArrayExpression< Operator, length > &) |
| | Addition Assignment operator using an array expression.
|
| |
|
template<class Operator > |
| Array< T, length, CheckingPolicy > & | operator-= (const ArrayExpression< Operator, length > &) |
| | Subtraction Assignment operator using an array expression.
|
| |
|
template<class Operator > |
| Array< T, length, CheckingPolicy > & | operator*= (const ArrayExpression< Operator, length > &) |
| | Element-wise multiplication assignment operator using an array expression.
|
| |
|
template<class Operator > |
| Array< T, length, CheckingPolicy > & | operator/= (const ArrayExpression< Operator, length > &) |
| | Element-wise multiplication assignment operator using an array expression.
|
| |
|
Array< T, length, CheckingPolicy > & | clear () |
| | Sets all fields to zero.
|
| |
|
Array< T, length, CheckingPolicy > & | fill (const T &) |
| | Fills all fields with a given value.
|
| |
|
template<int destLength> |
| Array< T, destLength, CheckingPolicy > | project () const |
| | projects the Array onto an Array of shorter length
|
| |
|
Array< T, length-1, CheckingPolicy > | projectDim (int dim) const |
| |
|
T | product () const |
| | Returns the product of all elements.
|
| |
|
T | sum () const |
| | Returns the sum of all elements.
|
| |
|
T | sqr () const |
| | Returns the sum of squares of all elements.
|
| |
| static Array< T, length, CheckingPolicy > | Zero () |
| |
| static Array< T, length, CheckingPolicy > | Ones () |
| |