Fixed size vector mode implementation. More...
#include <direction.hpp>
Public Types | |
using | Real = T_Real |
See Direction. | |
Public Member Functions | |
Direction () | |
Constructor. | |
Direction (Direction const &v) | |
Constructor. | |
Direction (Real const &s) | |
Constructor. | |
Direction (std::initializer_list< Real > l) | |
Constructor. | |
Direction & | operator+= (Direction const &v) |
Update operator. | |
Direction & | operator-= (Direction const &v) |
Update operator. | |
Direction & | operator= (Direction const &v) |
Assignment operator. | |
Real & | operator[] (size_t const &i) |
Per reference element access. | |
Real const & | operator[] (size_t const &i) const |
Per value element access. | |
Static Public Attributes | |
static size_t constexpr | dim = T_dim |
See Direction. | |
Fixed size vector mode implementation.
Can be used as the gradient template argument in active CoDiPack types.
T_Real | Type of the vector entries. |
T_dim | Dimension of the vector mode. |