rename op_dot::apply_proxy() to op_dot::apply_proxy_linear()

This commit is contained in:
conrad
2024-06-11 12:26:10 +10:00
parent f54cc6d0bb
commit 4643ddfff8
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -314,7 +314,7 @@ accu(const Glue<T1,T2,glue_times>& expr)
arma_conform_assert_mul_size(PA.get_n_rows(), PA.get_n_cols(), PB.get_n_rows(), PB.get_n_cols(), "matrix multiplication");
return op_dot::apply_proxy(PA,PB);
return op_dot::apply_proxy_linear(PA,PB);
}
}
+1 -1
View File
@@ -117,7 +117,7 @@ as_scalar_redirect<2>::apply(const Glue<T1, T2, glue_times>& X)
"as_scalar(): incompatible dimensions"
);
return op_dot::apply_proxy(PA,PB);
return op_dot::apply_proxy_linear(PA,PB);
}
}
+2 -2
View File
@@ -57,10 +57,10 @@ class op_dot
arma_hot inline static typename T1::elem_type apply(const T1& X, const T2& Y);
template<typename T1, typename T2>
arma_hot inline static typename arma_not_cx<typename T1::elem_type>::result apply_proxy(const Proxy<T1>& PA, const Proxy<T2>& PB);
arma_hot inline static typename arma_not_cx<typename T1::elem_type>::result apply_proxy_linear(const Proxy<T1>& PA, const Proxy<T2>& PB);
template<typename T1, typename T2>
arma_hot inline static typename arma_cx_only<typename T1::elem_type>::result apply_proxy(const Proxy<T1>& PA, const Proxy<T2>& PB);
arma_hot inline static typename arma_cx_only<typename T1::elem_type>::result apply_proxy_linear(const Proxy<T1>& PA, const Proxy<T2>& PB);
};
+3 -3
View File
@@ -304,7 +304,7 @@ op_dot::apply(const T1& X, const T2& Y)
arma_conform_check( (PA.get_n_elem() != PB.get_n_elem()), "dot(): objects must have the same number of elements" );
return op_dot::apply_proxy(PA,PB);
return op_dot::apply_proxy_linear(PA,PB);
}
@@ -312,7 +312,7 @@ op_dot::apply(const T1& X, const T2& Y)
template<typename T1, typename T2>
inline
typename arma_not_cx<typename T1::elem_type>::result
op_dot::apply_proxy(const Proxy<T1>& PA, const Proxy<T2>& PB)
op_dot::apply_proxy_linear(const Proxy<T1>& PA, const Proxy<T2>& PB)
{
arma_debug_sigprint();
@@ -349,7 +349,7 @@ op_dot::apply_proxy(const Proxy<T1>& PA, const Proxy<T2>& PB)
template<typename T1, typename T2>
inline
typename arma_cx_only<typename T1::elem_type>::result
op_dot::apply_proxy(const Proxy<T1>& PA, const Proxy<T2>& PB)
op_dot::apply_proxy_linear(const Proxy<T1>& PA, const Proxy<T2>& PB)
{
arma_debug_sigprint();