//! Matrix multplication where the matrices have different element types. More...
#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 |
//! Matrix multplication where the matrices have different element types.
Definition at line 407 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 417 of file gemm_mixed.hpp.
References Mat< eT >::n_elem.
{ arma_extra_debug_sigprint(); if( (A.n_elem <= 64u) && (B.n_elem <= 64u) ) { gemm_mixed_simple<do_trans_A, do_trans_B, use_alpha, use_beta>::apply(C,A,B,alpha,beta); } else { gemm_mixed_cache<do_trans_A, do_trans_B, use_alpha, use_beta>::apply(C,A,B,alpha,beta); } }