Lines Matching refs:Interface
32 template<class Interface>
39 return "matrix_matrix_"+Interface::name();
50 typename Interface::stl_matrix A_stl;
51 typename Interface::stl_matrix B_stl;
52 typename Interface::stl_matrix X_stl;
60 typename Interface::gene_matrix A_ref;
61 typename Interface::gene_matrix B_ref;
62 typename Interface::gene_matrix X_ref;
64 typename Interface::gene_matrix A;
65 typename Interface::gene_matrix B;
66 typename Interface::gene_matrix X;
69 Interface::matrix_from_stl(A_ref,A_stl);
70 Interface::matrix_from_stl(B_ref,B_stl);
71 Interface::matrix_from_stl(X_ref,X_stl);
73 Interface::matrix_from_stl(A,A_stl);
74 Interface::matrix_from_stl(B,B_stl);
75 Interface::matrix_from_stl(X,X_stl);
88 Interface::copy_matrix(A_ref,A,size);
89 Interface::copy_matrix(B_ref,B,size);
90 Interface::copy_matrix(X_ref,X,size);
93 // Interface::matrix_matrix_product(A,B,X,size); This line must be commented !!!!
105 Interface::copy_matrix(A_ref,A,size);
106 Interface::copy_matrix(B_ref,B,size);
107 Interface::copy_matrix(X_ref,X,size);
109 Interface::matrix_matrix_product(A,B,X,size); // here it is not commented !!!!
119 typename Interface::stl_matrix resu_stl(size);
121 Interface::matrix_to_stl(X,resu_stl);
123 STL_interface<typename Interface::real_type>::matrix_matrix_product(A_stl,B_stl,X_stl,size);
125 typename Interface::real_type error=
126 STL_interface<typename Interface::real_type>::norm_diff(X_stl,resu_stl);
135 Interface::free_matrix(A,size);
136 Interface::free_matrix(B,size);
137 Interface::free_matrix(X,size);
139 Interface::free_matrix(A_ref,size);
140 Interface::free_matrix(B_ref,size);
141 Interface::free_matrix(X_ref,size);