aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/btl
diff options
context:
space:
mode:
authorGravatar Florian George <floriangeorgemail@googlemail.com>2014-05-04 17:06:34 +0200
committerGravatar Florian George <floriangeorgemail@googlemail.com>2014-05-04 17:06:34 +0200
commitaf79b158a156a8b55ea486ecc063b4067e3625f7 (patch)
treef2f29c9c6afe90ca6ec2f166aef32a09dfa64d6a /bench/btl
parent0b7f95a03f9678b4cbdbb0bb19227e54b6d05718 (diff)
Use trans(X) instead of X.transpose() in Blaze Benchmark
Diffstat (limited to 'bench/btl')
-rw-r--r--bench/btl/libs/blaze/blaze_interface.hh8
1 files changed, 4 insertions, 4 deletions
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){