|
MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
|
Lazy unary negation of a matrix expression. More...
#include <mat_negate_expr.hpp>
Public Types | |
| using | value_type = typename raw_e::value_type |
| using | size_type = std::size_t |
Public Member Functions | |
| template<typename AE> | |
| mat_negate_expr (AE &&e) | |
| 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_e & | operand () const |
| The operand, for the aliasing check of an assignment (expr_alias.hpp). | |
Lazy unary negation of a matrix expression.
E encodes storage: const X& for lvalue, X for rvalue.
| using mtl::mat::expr::mat_negate_expr< E >::size_type = std::size_t |
| using mtl::mat::expr::mat_negate_expr< E >::value_type = typename raw_e::value_type |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
The operand, for the aliasing check of an assignment (expr_alias.hpp).
|
inline |
|
inline |