Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
vigra::AlgTinyVector< T, SIZE > Class Template Reference

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

#include <algtinyvector.h>

Public Member Functions

 AlgTinyVector (const AlgTinyVector< T, SIZE > &t)
 
 AlgTinyVector (T t=NumericTraits< T >::zero())
 
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 = NumericTraits<T>::zero())
inlineexplicit

Definition at line 38 of file algtinyvector.h.

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

Member Function Documentation

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

Definition at line 52 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 60 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 84 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 76 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 68 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 92 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 101 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 44 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 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

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