Lines Matching refs:m1
119 DenseMatrix m1(rows,cols), m2(rows,cols), m3(rows,cols);
120 eiToDense(sm1, m1);
126 m3 = m1 * m2;
133 m3 = m1.transpose() * m2;
140 m3 = m1.transpose() * m2.transpose();
147 m3 = m1 * m2.transpose();
188 DynamicSparseMatrix<Scalar> m1(sm1), m2(sm2), m3(sm3);
189 std::cout << "Eigen dyn-sparse\t" << m1.nonZeros()/(float(m1.rows())*float(m1.cols()))*100 << "% * "
194 BENCH(for (int k=0; k<REPEAT; ++k) m3 = m1 * m2;)
207 BENCH(for (int k=0; k<REPEAT; ++k) m3 = m1.transpose() * m2;)
213 BENCH( for (int k=0; k<REPEAT; ++k) m3 = m1.transpose() * m2.transpose(); )
219 BENCH( for (int k=0; k<REPEAT; ++k) m3 = m1 * m2.transpose(); )
228 cs *m1, *m2, *m3;
229 eiToCSparse(sm1, m1);
234 m3 = cs_sorted_multiply(m1, m2);
246 // BENCH( { m3 = cs_sorted_multiply2(m1, m2); cs_spfree(m3); } );
254 UBlasSparse m1(rows,cols), m2(rows,cols), m3(rows,cols);
255 eiToUblas(sm1, m1);
258 BENCH(boost::numeric::ublas::prod(m1, m2, m3););
268 GmmSparse m1(rows,cols), m2(rows,cols), m3(rows,cols);
269 eiToGmm(sm1, m1);
272 BENCH(gmm::mult(m1, m2, gmmT3););
275 // BENCH(gmm::mult(gmm::transposed(m1), m2, gmmT3););
280 // BENCH(gmm::mult(gmm::transposed(m1), gmm::transposed(m2), gmmT3););
283 // BENCH(gmm::mult(m1, gmm::transposed(m2), gmmT3););
298 MtlSparse m1(rows,cols), m2(rows,cols), m3(rows,cols);
299 eiToMtl(sm1, m1);
302 BENCH(m3 = m1 * m2;);
305 // BENCH(m3 = trans(m1) * m2;);
308 // BENCH(m3 = trans(m1) * trans(m2););
311 // BENCH(m3 = m1 * trans(m2););