fast_helper< vector< C, V > > Struct Template Reference

#include <vector.hpp>

List of all members.

Public Types

Static Public Member Functions


Detailed Description

template<typename C, typename V>
struct mmx::fast_helper< vector< C, V > >

Definition at line 247 of file vector.hpp.


Member Typedef Documentation

typedef vector<FC> fast_type

Definition at line 249 of file vector.hpp.

typedef fast_helper< C >::fast_type FC

Definition at line 248 of file vector.hpp.

typedef vector_variant_helper< FC >::VV FV

Definition at line 250 of file vector.hpp.


Member Function Documentation

static fast_type dd ( const vector< C, V > &  v  )  [inline, static]

Definition at line 251 of file vector.hpp.

References mmx::CF(), mmx::fast(), mmx::is_a_scalar(), and mmx::N().

00251                                                {
00252     format<FC> fm= fast (CF(v));
00253     nat l= aligned_size<FC, FV> (N(v));
00254     FC* r= mmx_formatted_new<FC> (l, fm);
00255     for (nat i=0; i<N(v); i++) r[i]= fast (v[i]);
00256     return fast_type (r, N(v), l, is_a_scalar (v), fm); }

static vector<C,V> uu ( const fast_type v  )  [inline, static]

Definition at line 257 of file vector.hpp.

References mmx::C, mmx::CF(), Format, mmx::is_a_scalar(), mmx::N(), and Vector.

00257                                                {
00258     Format fm= slow<C> (CF(v));
00259     nat l= aligned_size<C,V> ((N(v)));
00260     C* r= mmx_formatted_new<C> (l, fm);
00261     for (nat i=0; i<N(v); i++) r[i]= slow<C> (v[i]);
00262     return Vector (r, N(v), l, is_a_scalar (v), fm); }


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

Generated on 6 Dec 2012 for basix by  doxygen 1.6.1