Commits

FlorianGeorge  committed 63b4825

Use trans(X) instead of X.transpose() in Blaze Benchmark

  • Participants
  • Parent commits 4b65030

Comments (0)

Files changed (1)

File bench/btl/libs/blaze/blaze_interface.hh

   }
 
   static inline void transposed_matrix_matrix_product(const gene_matrix & A, const gene_matrix & B, gene_matrix & X, int N){
-    X = A.transpose()*B.transpose();
+    X = (trans(A)*trans(B));
   }
 
   static inline void ata_product(const gene_matrix & A, gene_matrix & X, int N){
-    X = (A.transpose()*A);
+    X = (trans(A)*A);
   }
 
   static inline void aat_product(const gene_matrix & A, gene_matrix & X, int N){
-    X = (A*A.transpose());
+    X = (A*trans(A));
   }
 
   static inline void matrix_vector_product(gene_matrix & A, gene_vector & B, gene_vector & X, int N){
   }
 
   static inline void atv_product(gene_matrix & A, gene_vector & B, gene_vector & X, int N){
-    X = (A.transpose()*B);
+    X = (trans(A)*B);
   }
 
   static inline void axpy(const real coef, const gene_vector & X, gene_vector & Y, int N){