Public Member Functions | Static Public Attributes | List of all members
Seldon::TinyVector< T, m_ > Class Template Reference

vector with real/complex components More...

#include <TinyVector.hxx>

Public Member Functions

 TinyVector ()
 Sets all components to 0.
 
 TinyVector (const T &a)
 Sets the first component to a.
 
 TinyVector (const T &a, const T &b)
 Sets the two first components.
 
 TinyVector (const T &a, const T &b, const T &c)
 Sets the three first components.
 
 TinyVector (const T &a, const T &b, const T &c, const T &d)
 Sets the four first components.
 
 TinyVector (const T &a, const T &b, const T &c, const T &d, const T &e)
 Sets the five first components.
 
template<class E >
 TinyVector (const TinyVectorExpression< T, m_, E > &u)
 Constructor taking an expression with vectors.
 
template<class T1 , class E >
TinyVector< T, m_ > & operator= (const TinyVectorExpression< T1, m_, E > &u)
 Operator *this = expression with vectors.
 
template<class T1 , class E >
TinyVector< T, m_ > & operator+= (const TinyVectorExpression< T1, m_, E > &u)
 Operator *this += expression with vectors.
 
template<class T1 , class E >
TinyVector< T, m_ > & operator-= (const TinyVectorExpression< T1, m_, E > &u)
 Operator *this -= expression with vectors.
 
TinyVector< T, m_ > & operator= (const T &x)
 Sets all elements of the vector to a given value x.
 
template<class T1 >
TinyVector< T, m_ > & operator*= (const T1 &a)
 
template<class T1 >
TinyVector< T, m_ > & operator/= (const T1 &a)
 
template<class T1 >
TinyVector< T, m > & operator*= (const T1 &a)
 operation this = this * a where a is scalar
 
template<class T1 >
TinyVector< T, m > & operator/= (const T1 &a)
 operation this = this / a where a is scalar
 

Static Public Attributes

static ClassComplexType< T >::Treal threshold
 

Detailed Description

template<class T, int m_>
class Seldon::TinyVector< T, m_ >

vector with real/complex components

Definition at line 17 of file TinyVector.hxx.


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