fn_dot.hpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 template<typename T1, typename T2>
00021 inline
00022 typename T1::elem_type
00023 dot(const Base<typename T1::elem_type,T1>& A, const Base<typename T1::elem_type,T2>& B)
00024 {
00025 arma_extra_debug_sigprint();
00026
00027 return op_dot::apply(A,B);
00028 }
00029
00030
00031
00032 template<typename T1, typename T2>
00033 inline
00034 typename T1::elem_type
00035 norm_dot(const Base<typename T1::elem_type,T1>& A, const Base<typename T1::elem_type,T2>& B)
00036 {
00037 arma_extra_debug_sigprint();
00038
00039 return op_norm_dot::apply(A,B);
00040 }
00041
00042
00043