From af79b158a156a8b55ea486ecc063b4067e3625f7 Mon Sep 17 00:00:00 2001 From: Florian George Date: Sun, 4 May 2014 17:06:34 +0200 Subject: Use trans(X) instead of X.transpose() in Blaze Benchmark --- bench/btl/libs/blaze/blaze_interface.hh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bench/btl') diff --git a/bench/btl/libs/blaze/blaze_interface.hh b/bench/btl/libs/blaze/blaze_interface.hh index ed43ecdd4..ee1523944 100644 --- a/bench/btl/libs/blaze/blaze_interface.hh +++ b/bench/btl/libs/blaze/blaze_interface.hh @@ -85,15 +85,15 @@ public : } 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){ @@ -101,7 +101,7 @@ public : } 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){ -- cgit v1.2.3