|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
A templated representation for vectors. More...
#include <FVector.h>
Public Types | |
| typedef T | value_type |
| The value type of this array. | |
| typedef T * | iterator |
| Iterator for the array. | |
| typedef const T * | const_iterator |
| Iterator for constant array. | |
Public Member Functions | |
| FVector () | |
| Constructor. | |
| FVector (const T &t) | |
| Constructor. | |
| FVector (const T *t) | |
| Constructor. | |
| FVector (const FArray1D< T, N > &) | |
| Conversion from one-dimensional array. | |
| FVector | operator- () const |
| Change sign. | |
| FVector & | operator*= (const T &) |
| Multiply by scalar and assign. | |
| FVector & | operator/= (const T &) |
| Divide by scalar and assign. | |
| FVector & | operator+= (const FVector &) |
| Add FVector and assign. | |
| FVector & | operator-= (const FVector &) |
| Subtract FVector and assign. | |
| T & | operator() (int n) |
| Get element. | |
| const T & | operator() (int n) const |
| Get element. | |
| T & | operator[] (int n) |
| Get element. | |
| const T & | operator[] (int n) const |
| Get element. | |
| iterator | begin () |
| Get iterator pointing to beginning of array. | |
| const_iterator | begin () const |
| Get iterator pointing to beginning of array. | |
| iterator | end () |
| Get iterator pointing past end of array. | |
| const_iterator | end () const |
| Get iterator pointing past end of array. | |
| int | size () const |
| Get array size. | |
Protected Attributes | |
| T | data [N] |
A templated representation for vectors.
|
inherited |
Iterator for constant array.
Definition at line 50 of file FArray1D.h.
|
inherited |
Iterator for the array.
Definition at line 47 of file FArray1D.h.
|
inherited |
The value type of this array.
Definition at line 44 of file FArray1D.h.
| FVector< T, N >::FVector | ( | ) |
Constructor.
Definition at line 113 of file FVector.h.
References FArray1D< T, N >::FArray1D().
Referenced by operator*=(), operator+=(), operator-(), operator-=(), and operator/=().
|
explicit |
Constructor.
Definition at line 119 of file FVector.h.
References FArray1D< T, N >::FArray1D().
|
explicit |
Constructor.
Definition at line 125 of file FVector.h.
References FArray1D< T, N >::FArray1D().
Conversion from one-dimensional array.
Definition at line 131 of file FVector.h.
References FArray1D< T, N >::FArray1D().
|
inlineinherited |
Get iterator pointing to beginning of array.
Definition at line 192 of file FArray1D.h.
References data.
Referenced by FLUMatrix< T, N >::backSubstitute(), euclidean_norm(), FTps< T, N >::evalMonoms(), FTps< T, N >::evaluate(), FArray1D(), FArray1D(), FArray2D< T, M, N >::getColumn(), FVps< T, N >::getFTps(), FArray2D< T, M, N >::getRow(), operator*(), operator*(), operator*(), operator*(), operator+(), FVector< T, N >::operator+=(), FVector< T, N >::operator-(), operator-(), FVector< T, N >::operator-=(), operator=(), FArray2D< T, M, N >::putColumn(), and FArray2D< T, M, N >::putRow().
|
inlineinherited |
Get iterator pointing to beginning of array.
Definition at line 204 of file FArray1D.h.
References data.
|
inlineinherited |
Get iterator pointing past end of array.
Definition at line 198 of file FArray1D.h.
References data.
Referenced by euclidean_norm(), FArray1D(), FArray1D(), FVps< T, N >::getFTps(), operator*(), operator*(), operator*(), operator+(), operator-(), operator=(), FArray2D< T, M, N >::putColumn(), and FArray2D< T, M, N >::putRow().
|
inlineinherited |
Get iterator pointing past end of array.
Definition at line 210 of file FArray1D.h.
References data.
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
protectedinherited |
Definition at line 111 of file FArray1D.h.
Referenced by begin(), begin(), end(), end(), operator()(), operator()(), operator[](), and operator[]().