Lines Matching refs:Interface
30 template<class Interface>
46 Interface::vector_from_stl(X_ref,X_stl); in Action_axpby()
47 Interface::vector_from_stl(Y_ref,Y_stl); in Action_axpby()
49 Interface::vector_from_stl(X,X_stl); in Action_axpby()
50 Interface::vector_from_stl(Y,Y_stl); in Action_axpby()
65 Interface::free_vector(X_ref); in ~Action_axpby()
66 Interface::free_vector(Y_ref); in ~Action_axpby()
68 Interface::free_vector(X); in ~Action_axpby()
69 Interface::free_vector(Y); in ~Action_axpby()
75 return "axpby_"+Interface::name(); in name()
83 Interface::copy_vector(X_ref,X,_size); in initialize()
84 Interface::copy_vector(Y_ref,Y,_size); in initialize()
89 Interface::axpby(_alpha,X,_beta,Y,_size); in calculate()
96 Interface::vector_to_stl(Y,resu_stl); in check_result()
98 STL_interface<typename Interface::real_type>::axpby(_alpha,X_stl,_beta,Y_stl,_size); in check_result()
100 typename Interface::real_type error= in check_result()
101 STL_interface<typename Interface::real_type>::norm_diff(Y_stl,resu_stl); in check_result()
111 typename Interface::stl_vector X_stl;
112 typename Interface::stl_vector Y_stl;
113 typename Interface::stl_vector resu_stl;
115 typename Interface::gene_vector X_ref;
116 typename Interface::gene_vector Y_ref;
118 typename Interface::gene_vector X;
119 typename Interface::gene_vector Y;
121 typename Interface::real_type _alpha;
122 typename Interface::real_type _beta;