#include <Array.h>
Inheritance diagram for Array< Elem, Size >:

Public Types | |
| typedef Elem * | iterator |
| typedef const Elem * | const_iterator |
Public Member Functions | |
| Array (void) | |
| virtual | ~Array (void) |
| Array (const Array< Elem, Size > &a2) | |
| Array< Elem, Size > & | operator= (const Array< Elem, Size > &a2) |
| Array (const Elem &v) | |
| Array< Elem, Size > & | operator= (const Elem &v) |
| Elem & | operator[] (int index) |
| const Elem & | operator[] (int index) const |
| iterator | begin (void) |
| iterator | end (void) |
| const_iterator | const_begin (void) const |
| const_iterator | const_end (void) const |
Public Attributes | |
| Elem | data [Size] |
Definition at line 10 of file Array.h.
|
|||||
|
|
|
|||||
|
|
|
||||||||||
|
Definition at line 16 of file Array.h. 00016 { ; }
|
|
||||||||||
|
Definition at line 19 of file Array.h. 00019 { ; }
|
|
||||||||||
|
Definition at line 22 of file Array.h.
|
|
||||||||||
|
Definition at line 33 of file Array.h. 00033 {
00034 for ( int i = 0; i < Size; ++i ) { data[i] = v; }
00035 }
|
|
||||||||||
|
Definition at line 47 of file Array.h. Referenced by OptPmeXPencil::pme_kspace(). 00047 { return &data[0]; }
|
|
||||||||||
|
Definition at line 50 of file Array.h. 00050 { return &data[0]; }
|
|
||||||||||
|
Definition at line 51 of file Array.h. 00051 { return &data[0] + Size; }
|
|
||||||||||
|
Definition at line 48 of file Array.h. 00048 { return &data[0] + Size; }
|
|
||||||||||
|
Reimplemented in MathArray< Elem, Size >. Definition at line 36 of file Array.h. 00036 {
00037 for ( int i = 0; i < Size; ++i ) { data[i] = v; }
00038 return (*this);
00039 }
|
|
||||||||||
|
Reimplemented in MathArray< Elem, Size >. Definition at line 27 of file Array.h. Referenced by MathArray< double, 7 >::operator=(). 00027 {
00028 for ( int i = 0; i < Size; ++i ) { data[i] = a2.data[i]; }
00029 return (*this);
00030 }
|
|
||||||||||
|
Definition at line 43 of file Array.h. 00043 { return data[index]; }
|
|
||||||||||
|
Definition at line 42 of file Array.h. 00042 { return data[index]; }
|
|
|||||
|
Definition at line 13 of file Array.h. Referenced by Array< double, Size >::Array(), MathArray< double, 7 >::operator *=(), MathArray< double, 7 >::operator+=(), MathArray< double, 7 >::operator-=(), MathArray< double, 7 >::operator/=(), and Array< double, Size >::operator=(). |
1.3.9.1