Data Structures |
struct | Info |
| Structure for info printing as Vector<T, Size>. More...
|
Public Types |
enum | { Size = Sz
} |
| Dimensions.
More...
|
enum | |
| Complexity counter.
More...
|
typedef T | value_type |
| Data type of the tvmet::Vector.
|
typedef T & | reference |
| Reference type of the tvmet::Vector data elements.
|
typedef const T & | const_reference |
| const reference type of the tvmet::Vector data elements.
|
typedef T * | iterator |
| STL iterator interface.
|
typedef const T * | const_iterator |
| STL const_iterator interface.
|
typedef std::reverse_iterator
< iterator > | reverse_iterator |
| STL reverse iterator interface.
|
typedef std::reverse_iterator
< const_iterator > | const_reverse_iterator |
| STL const reverse iterator interface.
|
Public Member Functions |
iterator | begin () |
| STL iterator interface.
|
iterator | end () |
| STL iterator interface.
|
const_iterator | begin () const |
| STL const_iterator interface.
|
const_iterator | end () const |
| STL const_iterator interface.
|
reverse_iterator | rbegin () |
| STL reverse iterator interface reverse begin.
|
const_reverse_iterator | rbegin () const |
| STL const reverse iterator interface reverse begin.
|
reverse_iterator | rend () |
| STL reverse iterator interface reverse end.
|
const_reverse_iterator | rend () const |
| STL const reverse iterator interface reverse end.
|
value_type | front () |
| STL vector front element.
|
const_reference | front () const |
| STL vector const front element.
|
value_type | back () |
| STL vector back element.
|
const_reference | back () const |
| STL vector const back element.
|
| ~Vector () |
| Default Destructor.
|
| Vector () |
| Default Constructor.
|
| Vector (const Vector &rhs) |
| Copy Constructor, not explicit!
|
template<class InputIterator > |
| Vector (InputIterator first, InputIterator last) |
| Constructor with STL iterator interface.
|
template<class InputIterator > |
| Vector (InputIterator first, std::size_t sz) |
| Constructor with STL iterator interface.
|
| Vector (value_type rhs) |
| Constructor with initializer for all elements.
|
| Vector (value_type x0, value_type x1) |
| Default Constructor with initializer list.
|
| Vector (value_type x0, value_type x1, value_type x2) |
| Default Constructor with initializer list.
|
| Vector (value_type x0, value_type x1, value_type x2, value_type x3) |
| Default Constructor with initializer list.
|
| Vector (value_type x0, value_type x1, value_type x2, value_type x3, value_type x4) |
| Default Constructor with initializer list.
|
| Vector (value_type x0, value_type x1, value_type x2, value_type x3, value_type x4, value_type x5) |
| Default Constructor with initializer list.
|
| Vector (value_type x0, value_type x1, value_type x2, value_type x3, value_type x4, value_type x5, value_type x6) |
| Default Constructor with initializer list.
|
| Vector (value_type x0, value_type x1, value_type x2, value_type x3, value_type x4, value_type x5, value_type x6, value_type x7) |
| Default Constructor with initializer list.
|
| Vector (value_type x0, value_type x1, value_type x2, value_type x3, value_type x4, value_type x5, value_type x6, value_type x7, value_type x8) |
| Default Constructor with initializer list.
|
| Vector (value_type x0, value_type x1, value_type x2, value_type x3, value_type x4, value_type x5, value_type x6, value_type x7, value_type x8, value_type x9) |
| Default Constructor with initializer list.
|
template<class E > |
| Vector (const XprVector< E, Size > &e) |
| Construct a vector by expression.
|
CommaInitializer< Vector, Size > | operator= (value_type rhs) |
| Assign a value_type on array, this can be used for a single value or a comma separeted list of values.
|
ConstReference | const_ref () const |
| Return a const Reference of the internal data.
|
XprVector< ConstReference, Size > | as_expr () const |
| Return the vector as const expression.
|
template<class T2 , class Assign > |
void | assign_to (Vector< T2, Size > &dest, const Assign &assign_fn) const |
| assign this to a vector expression using the functional assign_fn.
|
template<class T2 > |
Vector & | operator= (const Vector< T2, Size > &rhs) |
| assign a given Vector element wise to this vector.
|
template<class E > |
Vector & | operator= (const XprVector< E, Size > &rhs) |
| assign a given XprVector element wise to this vector.
|
std::ostream & | print_xpr (std::ostream &os, std::size_t l=0) const |
| Member function for expression level printing.
|
std::ostream & | print_on (std::ostream &os) const |
| Member function for printing internal data.
|
Static Public Member Functions |
static bool | empty () |
| STL vector empty() - returns allways false.
|
static std::size_t | size () |
| The size of the vector.
|
static std::size_t | max_size () |
| STL vector max_size() - returns allways Size.
|
static Info | info () |
| Get an info object of this vector.
|