#include <vector.hpp>
Definition at line 53 of file vector.hpp.
typedef empty_format FT [inherited] |
Definition at line 196 of file type_props.hpp.
typedef implementation<vector_linear,V> Vec |
Definition at line 55 of file vector.hpp.
vector_rep | ( | C * | a2, | |
nat | n2, | |||
bool | flag, | |||
const format< C > & | fm | |||
) | [inline] |
Definition at line 62 of file vector.hpp.
Definition at line 64 of file vector.hpp.
00064 : 00065 Format (fm), a (a2), n (n2), l (l2), scalar_flag (flag) {} inline ~vector_rep () { mmx_delete<C> (a, l); }
~vector_rep | ( | ) | [inline] |
Definition at line 66 of file vector.hpp.
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 (); }
void resize | ( | nat | n2 | ) | [inline] |
Definition at line 67 of file vector.hpp.
00067 { 00068 nat l2; 00069 if (n2 > l) l2= aligned_size<C,V> (max (n2, l<<1)); 00070 else if (n2 < (l >> 1)) l2= aligned_size<C,V> (n2); 00071 else { n= n2; return; } 00072 C* b= mmx_new<C> (l2); 00073 Vec::copy (b, a, min (n, n2)); 00074 mmx_delete<C> (a, l); 00075 a= b; 00076 n= n2; 00077 l= l2; 00078 }
empty_format rfm | ( | ) | const [inline, inherited] |
Definition at line 188 of file type_props.hpp.
C sample | ( | ) | const [inline, inherited] |
Definition at line 202 of file type_props.hpp.
Referenced by mmx::get_sample().
00202 { return C(); }
Definition at line 201 of file type_props.hpp.
Definition at line 212 of file vector.hpp.
Definition at line 213 of file vector.hpp.
Definition at line 210 of file vector.hpp.
Definition at line 215 of file vector.hpp.
Definition at line 216 of file vector.hpp.
00216 { 00217 VERIFY (is_non_scalar (v), "non-scalar vector expected"); 00218 v.secure(); return v->a; }
Definition at line 219 of file vector.hpp.
00219 { return inside (v)->a; }
Definition at line 79 of file vector.hpp.