|
OPAL (Object Oriented Parallel Accelerator Library)
2024.1
OPAL
|
A templated representation for vectors. More...
#include <FTps.h>


Public Member Functions | |
| FVector () | |
| Constructor. More... | |
| FVector (const T &t) | |
| Constructor. More... | |
| FVector (const T *t) | |
| Constructor. More... | |
| FVector (const FArray1D< T, N > &) | |
| Conversion from one-dimensional array. More... | |
| FVector | operator- () const |
| Change sign. More... | |
| FVector & | operator*= (const T &) |
| Multiply by scalar and assign. More... | |
| FVector & | operator/= (const T &) |
| Divide by scalar and assign. More... | |
| FVector & | operator+= (const FVector &) |
| Add FVector and assign. More... | |
| FVector & | operator-= (const FVector &) |
| Subtract FVector and assign. More... | |
Public Member Functions inherited from FArray1D< T, N > | |
| FArray1D () | |
| Default constructor. More... | |
| FArray1D (const T &t) | |
| Constructor. More... | |
| FArray1D (const FArray1D &) | |
| Copy constructor. More... | |
| FArray1D (const std::initializer_list< T > &) | |
| Consructor with initializer list (needs C++11) (see http://en.cppreference.com/w/cpp/utility/initializer_list) More... | |
| const FArray1D & | operator= (const FArray1D &) |
| Assignment. More... | |
| T & | operator() (int n) |
| Get element. More... | |
| const T & | operator() (int n) const |
| Get element. More... | |
| T & | operator[] (int n) |
| Get element. More... | |
| const T & | operator[] (int n) const |
| Get element. More... | |
| iterator | begin () |
| Get iterator pointing to beginning of array. More... | |
| iterator | end () |
| Get iterator pointing past end of array. More... | |
| const_iterator | begin () const |
| Get iterator pointing to beginning of array. More... | |
| const_iterator | end () const |
| Get iterator pointing past end of array. More... | |
| int | size () const |
| Get array size. More... | |
Additional Inherited Members | |
Public Types inherited from FArray1D< T, N > | |
| typedef T | value_type |
| The value type of this array. More... | |
| typedef T * | iterator |
| Iterator for the array. More... | |
| typedef const T * | const_iterator |
| Iterator for constant array. More... | |
Protected Attributes inherited from FArray1D< T, N > | |
| T | data [N] |
A templated representation for vectors.
Change sign.
Definition at line 137 of file FVector.h.
References begin, FArray1D< T, N >::begin(), end, and test::result.

1.8.5