MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::array::detail_bcast Namespace Reference

Classes

struct  is_ndarray
struct  is_ndarray< ndarray< V, N, O > >

Concepts

concept  Array

Typedefs

template<typename T>
using stored_t
 How an operand is stored: by const reference if it is an lvalue, by value if it is a temporary.

Functions

template<typename Op, typename A, typename B>
auto make (A &&a, B &&b)

Typedef Documentation

◆ stored_t

template<typename T>
using mtl::array::detail_bcast::stored_t
Initial value:
std::conditional_t<std::is_lvalue_reference_v<T>,
const std::remove_reference_t<T>&, std::remove_cvref_t<T>>

How an operand is stored: by const reference if it is an lvalue, by value if it is a temporary.

Function Documentation

◆ make()

template<typename Op, typename A, typename B>
auto mtl::array::detail_bcast::make ( A && a,
B && b )