#include <gemm_mixed.hpp>
Static Public Member Functions | |
template<typename out_eT , typename in_eT1 , typename in_eT2 > | |
static void | apply (Mat< out_eT > &C, const Mat< in_eT1 > &A, const Mat< in_eT2 > &B, const out_eT alpha=out_eT(1), const out_eT beta=out_eT(0)) |
immediate multiplication of matrices A and B, storing the result in C |
Definition at line 404 of file gemm_mixed.hpp.
static void gemm_mixed< do_trans_A, do_trans_B, use_alpha, use_beta >::apply | ( | Mat< out_eT > & | C, | |
const Mat< in_eT1 > & | A, | |||
const Mat< in_eT2 > & | B, | |||
const out_eT | alpha = out_eT(1) , |
|||
const out_eT | beta = out_eT(0) | |||
) | [inline, static] |
immediate multiplication of matrices A and B, storing the result in C
Definition at line 414 of file gemm_mixed.hpp.
References Mat< eT >::n_elem.
00421 { 00422 arma_extra_debug_sigprint(); 00423 00424 if( (A.n_elem <= 64u) && (B.n_elem <= 64u) ) 00425 { 00426 gemm_mixed_simple<do_trans_A, do_trans_B, use_alpha, use_beta>::apply(C,A,B,alpha,beta); 00427 } 00428 else 00429 { 00430 gemm_mixed_cache<do_trans_A, do_trans_B, use_alpha, use_beta>::apply(C,A,B,alpha,beta); 00431 } 00432 }