fxv< C, N, H > Struct Template Reference

#include <fxv.hpp>

List of all members.

Public Types

Public Member Functions

Public Attributes

Static Public Attributes


Detailed Description

template<typename C, unsigned N, class H = fxv_empty>
struct mmx::fxv< C, N, H >

Definition at line 29 of file fxv.hpp.


Member Typedef Documentation

typedef fxv<C,N,H> self_t

Definition at line 31 of file fxv.hpp.

typedef C value_type

Definition at line 33 of file fxv.hpp.


Member Function Documentation

bool operator!= ( const self_t p  )  const [inline]

Definition at line 50 of file fxv.hpp.

00050 {return !(*this==p);}

bool operator!= ( int  n  )  const [inline]

Definition at line 48 of file fxv.hpp.

00048 {return !(*this==n);}

self_t& operator%= ( const X &  x  )  [inline]

Definition at line 55 of file fxv.hpp.

00055 { mod(*this,x); return *this; };

self_t& operator*= ( const X &  x  )  [inline]

Definition at line 53 of file fxv.hpp.

00053 { mul(*this,x); return *this; };

self_t& operator+= ( const X &  x  )  [inline]

Definition at line 51 of file fxv.hpp.

00051 { add(*this,x); return *this; };

self_t& operator-= ( const X &  x  )  [inline]

Definition at line 52 of file fxv.hpp.

00052 { sub(*this,x); return *this; };

self_t& operator/= ( const X &  x  )  [inline]

Definition at line 54 of file fxv.hpp.

00054 { div(*this,x); return *this; };

self_t& operator= ( const texp::template_expression< S > &  M  )  [inline]

Definition at line 41 of file fxv.hpp.

00042   { 
00043     using namespace let;
00044     assign(*this,M);
00045     return *this; 
00046   };

self_t& operator= ( const C &  x  ) 
fxv< C, N, H > & operator= ( const fxv< K, N, H2 > &  v  )  [inline]

Definition at line 199 of file fxv.hpp.

References copy(), and fxv< C, N, H >::data.

00199 { copy(this->data,v.data); };

bool operator== ( const self_t p  )  const [inline]

Definition at line 192 of file fxv.hpp.

References fxv< C, N, H >::data.

00193 {
00194   return eqxual(this->data,v.data); // type::equal
00195 };

bool operator== ( int  n  )  const
const C& operator[] ( unsigned  i  )  const [inline]

Definition at line 36 of file fxv.hpp.

00036 { return data[i]; };

C& operator[] ( unsigned  i  )  [inline]

Definition at line 35 of file fxv.hpp.

00035 { return data[i]; };


Member Data Documentation

const int _dimension_ = N [static]

Definition at line 32 of file fxv.hpp.

C data[N]

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

Generated on 6 Dec 2012 for shape by  doxygen 1.6.1