MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
broadcast.hpp File Reference
#include <array>
#include <cassert>
#include <cstddef>
#include <stdexcept>
#include <type_traits>
#include <utility>
#include <mtl/config.hpp>
#include <mtl/array/ndarray.hpp>
#include <mtl/array/shape.hpp>

Classes

class  mtl::array::broadcast_expr< LHS, RHS, Op, N >
 Lazy expression for element-wise binary operations with broadcasting. More...
struct  mtl::array::detail_bcast::is_ndarray< T >
struct  mtl::array::detail_bcast::is_ndarray< ndarray< V, N, O > >
struct  mtl::array::ops::plus
struct  mtl::array::ops::minus
struct  mtl::array::ops::times
struct  mtl::array::ops::divides

Namespaces

namespace  mtl
namespace  mtl::array
namespace  mtl::array::detail_bcast
namespace  mtl::array::ops

Concepts

concept  mtl::array::detail_bcast::Array

Typedefs

template<typename T>
using mtl::array::detail_bcast::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 mtl::array::detail_bcast::make (A &&a, B &&b)
template<detail_bcast::Array A, detail_bcast::Array B>
auto mtl::array::operator+ (A &&a, B &&b)
template<detail_bcast::Array A, detail_bcast::Array B>
auto mtl::array::operator- (A &&a, B &&b)
template<detail_bcast::Array A, detail_bcast::Array B>
auto mtl::array::operator* (A &&a, B &&b)
template<detail_bcast::Array A, detail_bcast::Array B>
auto mtl::array::operator/ (A &&a, B &&b)