Lines Matching refs:Interface
31 template<class Interface>
50 Interface::vector_from_stl(X_ref,X_stl); in Action_axpy()
51 Interface::vector_from_stl(Y_ref,Y_stl); in Action_axpy()
53 Interface::vector_from_stl(X,X_stl); in Action_axpy()
54 Interface::vector_from_stl(Y,Y_stl); in Action_axpy()
75 Interface::free_vector(X_ref); in ~Action_axpy()
76 Interface::free_vector(Y_ref); in ~Action_axpy()
78 Interface::free_vector(X); in ~Action_axpy()
79 Interface::free_vector(Y); in ~Action_axpy()
86 return "axpy_"+Interface::name(); in name()
94 Interface::copy_vector(X_ref,X,_size); in initialize()
95 Interface::copy_vector(Y_ref,Y,_size); in initialize()
100 Interface::axpy(_coef,X,Y,_size); in calculate()
108 Interface::vector_to_stl(Y,resu_stl); in check_result()
110 STL_interface<typename Interface::real_type>::axpy(_coef,X_stl,Y_stl,_size); in check_result()
112 typename Interface::real_type error= in check_result()
113 STL_interface<typename Interface::real_type>::norm_diff(Y_stl,resu_stl); in check_result()
124 typename Interface::stl_vector X_stl;
125 typename Interface::stl_vector Y_stl;
126 typename Interface::stl_vector resu_stl;
128 typename Interface::gene_vector X_ref;
129 typename Interface::gene_vector Y_ref;
131 typename Interface::gene_vector X;
132 typename Interface::gene_vector Y;
134 typename Interface::real_type _coef;