upm  1.7.1
Sensor/Actuator repository for libmraa (v2.0.0)
Public Types | Public Member Functions | Friends
vec< TYPE, SIZE > Class Template Reference

Public Types

typedef TYPE value_type
 
typedef TYPE & reference
 
typedef TYPE const & const_reference
 
typedef size_t size_type
 
typedef TYPE * iterator
 
typedef TYPE const * const_iterator
 

Public Member Functions

iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
size_type size () const
 
 vec (const vec &rhs)
 
 vec (const base &rhs)
 
 vec (pTYPE rhs)
 
template<template< typename T, size_t S > class VEC, size_t S>
 vec (const VEC< TYPE, S > &rhs)
 
 vec (TYPE const *array)
 
vecoperator= (const vec &rhs)
 
vecoperator= (const base &rhs)
 
vecoperator= (pTYPE rhs)
 
template<template< typename T, size_t S > class VEC, size_t S>
vecoperator= (const VEC< TYPE, S > &rhs)
 
vecoperator+= (const vec &rhs)
 
vecoperator-= (const vec &rhs)
 
vecoperator*= (pTYPE rhs)
 
- Public Member Functions inherited from vbase< TYPE, SIZE >
const TYPE & operator[] (size_t i) const
 
TYPE & operator[] (size_t i)
 

Friends

vec PURE operator+ (const vec &lhs, const vec &rhs)
 
vec PURE operator- (const vec &lhs, const vec &rhs)
 
vec PURE operator* (const vec &lhs, pTYPE v)
 
vec PURE operator* (pTYPE v, const vec &rhs)
 
TYPE PURE dot_product (const vec &lhs, const vec &rhs)
 

Additional Inherited Members

- Data Fields inherited from vbase< TYPE, SIZE >
TYPE v [SIZE]
 
Inheritance diagram for vec< TYPE, SIZE >:
Inheritance graph
[legend]
Collaboration diagram for vec< TYPE, SIZE >:
Collaboration graph
[legend]

The documentation for this class was generated from the following file: