add notes
This commit is contained in:
@@ -292,7 +292,7 @@ accu(const Glue<T1,T2,glue_times>& expr)
|
||||
constexpr bool use_at = (Proxy<T1>::use_at) || (Proxy<T2>::use_at);
|
||||
|
||||
constexpr bool fast_unwrap = (partial_unwrap<T1>::is_fast && partial_unwrap<T2>::is_fast);
|
||||
|
||||
|
||||
if(proxy_is_mat || use_at || fast_unwrap)
|
||||
{
|
||||
const partial_unwrap<T1> UA(expr.A);
|
||||
|
||||
@@ -75,6 +75,7 @@ as_scalar_redirect<2>::apply(const Glue<T1, T2, glue_times>& X)
|
||||
|
||||
// T1 must result in a matrix with one row
|
||||
// T2 must result in a matrix with one column
|
||||
// element type must non-complex
|
||||
|
||||
constexpr bool proxy_is_mat = (is_Mat<typename Proxy<T1>::stored_type>::value && is_Mat<typename Proxy<T2>::stored_type>::value);
|
||||
|
||||
@@ -133,6 +134,7 @@ as_scalar_redirect<3>::apply(const Glue< Glue<T1, T2, glue_times>, T3, glue_time
|
||||
|
||||
// T1 * T2 must result in a matrix with one row
|
||||
// T3 must result in a matrix with one column
|
||||
// element type must non-complex
|
||||
|
||||
typedef typename strip_inv <T2 >::stored_type T2_stripped_1;
|
||||
typedef typename strip_diagmat<T2_stripped_1>::stored_type T2_stripped_2;
|
||||
|
||||
Reference in New Issue
Block a user