|
MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
|
Lazy binary element-wise operation on two matrix operands. More...
#include <mat_mat_op_expr.hpp>
Public Types | |
| using | value_type = typename SF<typename raw_e1::value_type, typename raw_e2::value_type>::result_type |
| using | size_type = std::size_t |
Public Member Functions | |
| template<typename A1, typename A2> | |
| mat_mat_op_expr (A1 &&e1, A2 &&e2) | |
| size_type | num_rows () const |
| size_type | num_cols () const |
| size_type | size () const |
| value_type | operator() (size_type r, size_type c) const |
| const raw_e1 & | first () const |
| The operands, for the aliasing check of an assignment (expr_alias.hpp). | |
| const raw_e2 & | second () const |
Lazy binary element-wise operation on two matrix operands.
E1/E2 encode storage: const X& for lvalue operands, X for rvalue operands. SF is a scalar functor with static apply(a, b).
| using mtl::mat::expr::mat_mat_op_expr< E1, E2, SF >::size_type = std::size_t |
| using mtl::mat::expr::mat_mat_op_expr< E1, E2, SF >::value_type = typename SF<typename raw_e1::value_type, typename raw_e2::value_type>::result_type |
|
inline |
|
inline |
The operands, for the aliasing check of an assignment (expr_alias.hpp).
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |