vector_rep< C, vector_fixed< V, S > > Class Template Reference

#include <vector.hpp>

Inheritance diagram for vector_rep< C, vector_fixed< V, S > >:
rep_struct format< C > empty_format

List of all members.

Public Types

Public Member Functions

Public Attributes

Friends


Detailed Description

template<typename C, typename V, typename S>
class mmx::vector_rep< C, vector_fixed< V, S > >

Definition at line 334 of file vector.hpp.


Member Typedef Documentation

typedef empty_format FT [inherited]

Definition at line 196 of file type_props.hpp.


Constructor & Destructor Documentation

vector_rep ( C a2,
nat  n,
bool  dummy,
const format< C > &  fm 
) [inline]

Definition at line 348 of file vector.hpp.

References VERIFY.

00348                                                                 :
00349     Format (fm), a (a2) {
00350       VERIFY (n == S::val, "wrong size");
00351       (void) n; (void) dummy; }
  inline vector_rep (C* a2, nat n, nat l, bool dummy, const Format& fm):

vector_rep ( C a2,
nat  n,
nat  l,
bool  dummy,
const format< C > &  fm 
) [inline]

Definition at line 352 of file vector.hpp.

References VERIFY.

00352                                                                        :
00353     Format (fm), a (a2) {
00354       VERIFY (n == S::val, "wrong size");
00355       VERIFY ((l == aligned_size<C,V> (S::val)), "wrong allocated size");
00356       (void) n; (void) l; (void) dummy; }
  inline virtual ~vector_rep () {

virtual ~vector_rep (  )  [inline, virtual]

Definition at line 357 of file vector.hpp.

00357                                 {
00358     mmx_delete<C> (a, aligned_size<C,V> (S::val)); }


Member Function Documentation

empty_format format1 (  )  const [inline, inherited]

Definition at line 189 of file type_props.hpp.

Referenced by mmx::get_format1().

00189 { return empty_format (); }

empty_format format2 (  )  const [inline, inherited]

Definition at line 190 of file type_props.hpp.

Referenced by mmx::get_format2().

00190 { return empty_format (); }

empty_format format3 (  )  const [inline, inherited]

Definition at line 191 of file type_props.hpp.

00191 { return empty_format (); }

empty_format rfm (  )  const [inline, inherited]

Definition at line 188 of file type_props.hpp.

00188 { return *this; }

C sample (  )  const [inline, inherited]

Definition at line 202 of file type_props.hpp.

Referenced by mmx::get_sample().

00202 { return C(); }

format<C> tfm (  )  const [inline, inherited]

Definition at line 201 of file type_props.hpp.

00201 { return *this; }


Friends And Related Function Documentation

bool is_a_scalar ( const vector< C, V > &  v  )  [friend]

Definition at line 212 of file vector.hpp.

00212 { return v->scalar_flag; }

bool is_non_scalar ( const vector< C, V > &  v  )  [friend]

Definition at line 213 of file vector.hpp.

00213 { return !v->scalar_flag; }

nat N ( const vector< C, vector_fixed< V, S > > &  v  )  [friend]

Definition at line 368 of file vector.hpp.

00368 { return S::val; }

const C* seg ( const vector< C, vector_fixed< V, S > > &  v  )  [friend]
C* seg ( vector< C, vector_fixed< V, S > > &  v  )  [friend]
friend class vector< C, vector_fixed< V, S > > [friend]

Definition at line 359 of file vector.hpp.


Member Data Documentation

MMX_ALLOCATORS int ref_count [inherited]

Definition at line 164 of file basix.hpp.


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

Generated on 6 Dec 2012 for basix by  doxygen 1.6.1