op_dot_proto.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
00021
00022 class op_dot
00023 {
00024 public:
00025
00026 template<typename eT>
00027 inline arma_pure static eT direct_dot(const u32 n_elem, const eT* const A, const eT* const B);
00028
00029 template<typename eT>
00030 inline arma_pure static eT direct_dot(const u32 n_elem, const eT* const A, const eT* const B, const eT* C);
00031
00032 template<typename T1, typename T2>
00033 inline static typename T1::elem_type apply(const Base<typename T1::elem_type,T1>& A_orig, const Base<typename T1::elem_type,T2>& B_orig);
00034 };
00035
00036
00037
00038
00039
00040
00041 class op_norm_dot
00042 {
00043 public:
00044
00045 template<typename T1, typename T2>
00046 inline static typename T1::elem_type apply(const Base<typename T1::elem_type,T1>& A_orig, const Base<typename T1::elem_type,T2>& B_orig);
00047 };
00048
00049