vigra::AlgTinyVector< T, SIZE > Class Template Reference

Fixed size vector with scalar multiplication and element-wise substraction and addition. More...

#include <algtinyvector.h>

List of all members.

Public Member Functions

 AlgTinyVector (const AlgTinyVector< T, SIZE > &t)
 AlgTinyVector (T t)
 AlgTinyVector ()
const T operator[] (int i) const
T & operator[] (int i)
const T operator * (const AlgTinyVector< T, SIZE > &t) const
const AlgTinyVector operator * (const int t) const
const AlgTinyVector operator/ (const int t) const
const AlgTinyVector operator- (const AlgTinyVector< T, SIZE > &t) const
const AlgTinyVector operator+ (const AlgTinyVector< T, SIZE > &t) const
AlgTinyVectoroperator= (const AlgTinyVector< T, SIZE > &t)
AlgTinyVectoroperator= (const TinyVector< T, SIZE > &t)

Private Attributes

content [SIZE]


Detailed Description

template<class T, int SIZE>
class vigra::AlgTinyVector< T, SIZE >

Fixed size vector with scalar multiplication and element-wise substraction and addition.

Definition at line 29 of file algtinyvector.h.


Constructor & Destructor Documentation

template<class T, int SIZE>
vigra::AlgTinyVector< T, SIZE >::AlgTinyVector ( const AlgTinyVector< T, SIZE > &  t  )  [inline]

Definition at line 32 of file algtinyvector.h.

References vigra::AlgTinyVector< T, SIZE >::content.

template<class T, int SIZE>
vigra::AlgTinyVector< T, SIZE >::AlgTinyVector ( t  )  [inline]

Definition at line 38 of file algtinyvector.h.

References vigra::AlgTinyVector< T, SIZE >::content.

template<class T, int SIZE>
vigra::AlgTinyVector< T, SIZE >::AlgTinyVector (  )  [inline]

Definition at line 44 of file algtinyvector.h.


Member Function Documentation

template<class T, int SIZE>
const AlgTinyVector vigra::AlgTinyVector< T, SIZE >::operator * ( const int  t  )  const [inline]

Definition at line 64 of file algtinyvector.h.

References vigra::AlgTinyVector< T, SIZE >::content.

template<class T, int SIZE>
const T vigra::AlgTinyVector< T, SIZE >::operator * ( const AlgTinyVector< T, SIZE > &  t  )  const [inline]

Definition at line 56 of file algtinyvector.h.

References vigra::AlgTinyVector< T, SIZE >::content.

template<class T, int SIZE>
const AlgTinyVector vigra::AlgTinyVector< T, SIZE >::operator+ ( const AlgTinyVector< T, SIZE > &  t  )  const [inline]

Definition at line 88 of file algtinyvector.h.

References vigra::AlgTinyVector< T, SIZE >::content.

template<class T, int SIZE>
const AlgTinyVector vigra::AlgTinyVector< T, SIZE >::operator- ( const AlgTinyVector< T, SIZE > &  t  )  const [inline]

Definition at line 80 of file algtinyvector.h.

References vigra::AlgTinyVector< T, SIZE >::content.

template<class T, int SIZE>
const AlgTinyVector vigra::AlgTinyVector< T, SIZE >::operator/ ( const int  t  )  const [inline]

Definition at line 72 of file algtinyvector.h.

References vigra::AlgTinyVector< T, SIZE >::content.

template<class T, int SIZE>
AlgTinyVector& vigra::AlgTinyVector< T, SIZE >::operator= ( const TinyVector< T, SIZE > &  t  )  [inline]

Definition at line 105 of file algtinyvector.h.

References vigra::AlgTinyVector< T, SIZE >::content.

template<class T, int SIZE>
AlgTinyVector& vigra::AlgTinyVector< T, SIZE >::operator= ( const AlgTinyVector< T, SIZE > &  t  )  [inline]

Definition at line 96 of file algtinyvector.h.

References vigra::AlgTinyVector< T, SIZE >::content.

template<class T, int SIZE>
T& vigra::AlgTinyVector< T, SIZE >::operator[] ( int  i  )  [inline]

Definition at line 52 of file algtinyvector.h.

References vigra::AlgTinyVector< T, SIZE >::content.

template<class T, int SIZE>
const T vigra::AlgTinyVector< T, SIZE >::operator[] ( int  i  )  const [inline]

Definition at line 48 of file algtinyvector.h.

References vigra::AlgTinyVector< T, SIZE >::content.


Member Data Documentation

template<class T, int SIZE>
T vigra::AlgTinyVector< T, SIZE >::content[SIZE] [private]

Definition at line 113 of file algtinyvector.h.

Referenced by vigra::AlgTinyVector< T, SIZE >::AlgTinyVector(), vigra::AlgTinyVector< T, SIZE >::operator *(), vigra::AlgTinyVector< T, SIZE >::operator+(), vigra::AlgTinyVector< T, SIZE >::operator-(), vigra::AlgTinyVector< T, SIZE >::operator/(), vigra::AlgTinyVector< T, SIZE >::operator=(), and vigra::AlgTinyVector< T, SIZE >::operator[]().


The documentation for this class was generated from the following file:
Generated on 25 Oct 2014 for Hugintrunk by  doxygen 1.4.7