MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::mat::expr::mat_mat_times_expr< E1, E2 > Class Template Reference

Lazy matrix-matrix multiply expression. More...

#include <mat_mat_times_expr.hpp>

Public Types

using value_type = std::common_type_t<typename raw_e1::value_type, typename raw_e2::value_type>
using size_type = std::size_t

Public Member Functions

template<typename A1, typename A2>
 mat_mat_times_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

Detailed Description

template<typename E1, typename E2>
class mtl::mat::expr::mat_mat_times_expr< E1, E2 >

Lazy matrix-matrix multiply expression.

E1/E2 encode storage: const X& for lvalue, X for rvalue.

Member Typedef Documentation

◆ size_type

template<typename E1, typename E2>
using mtl::mat::expr::mat_mat_times_expr< E1, E2 >::size_type = std::size_t

◆ value_type

template<typename E1, typename E2>
using mtl::mat::expr::mat_mat_times_expr< E1, E2 >::value_type = std::common_type_t<typename raw_e1::value_type, typename raw_e2::value_type>

Constructor & Destructor Documentation

◆ mat_mat_times_expr()

template<typename E1, typename E2>
template<typename A1, typename A2>
mtl::mat::expr::mat_mat_times_expr< E1, E2 >::mat_mat_times_expr ( A1 && e1,
A2 && e2 )
inline

Member Function Documentation

◆ first()

template<typename E1, typename E2>
const raw_e1 & mtl::mat::expr::mat_mat_times_expr< E1, E2 >::first ( ) const
inline

The operands, for the aliasing check of an assignment (expr_alias.hpp).

◆ num_cols()

template<typename E1, typename E2>
size_type mtl::mat::expr::mat_mat_times_expr< E1, E2 >::num_cols ( ) const
inline

◆ num_rows()

template<typename E1, typename E2>
size_type mtl::mat::expr::mat_mat_times_expr< E1, E2 >::num_rows ( ) const
inline

◆ operator()()

template<typename E1, typename E2>
value_type mtl::mat::expr::mat_mat_times_expr< E1, E2 >::operator() ( size_type r,
size_type c ) const
inline

◆ second()

template<typename E1, typename E2>
const raw_e2 & mtl::mat::expr::mat_mat_times_expr< E1, E2 >::second ( ) const
inline

◆ size()

template<typename E1, typename E2>
size_type mtl::mat::expr::mat_mat_times_expr< E1, E2 >::size ( ) const
inline

The documentation for this class was generated from the following file: