|
| #define | vnl_T_n_aux_1(T) (T x) { data_[0] = x; } |
| | cpp traits!. More...
|
| |
| #define | vnl_T_n_aux_2(T) (T x, T y) { data_[0] = x; data_[1] = y; } |
| |
| #define | vnl_T_n_aux_3(T) (T x, T y, T z) { data_[0] = x; data_[1] = y; data_[2] = z; } |
| |
| #define | vnl_T_n_aux_4(T) (T x, T y, T z, T w) { data_[0] = x; data_[1] = y; data_[2] = z; data_[3] = w; } |
| |
| #define | vnl_T_n_aux_5(T) (T x, T y, T z, T w, T u) { data_[0] = x; data_[1] = y; data_[2] = z; data_[3] = w; data_[4]= u; } |
| |
| #define | vnl_T_n_class_impl(T, n) |
| | this macro defines the class. More...
|
| |
| #define | vnl_T_n_funcs_impl(T, n) /* no need */ |
| |
| #define | vnl_T_n_impl(T, n) |
| | clients use this. More...
|
| |
- Author
- fsm
Purpose: the vnl_vector_fixed<T,n> template class provides non-mallocing vectors of given size, but it has no constructor from n Ts. This macro declares a class vnl_T_n which is derived directly from vnl_vector_fixed<T,n> and has such a constructor.
Inspired by the numerous double-3, int-2 things lying around.
Definition in file vnl_T_n.h.