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

Classes

struct  mtl::detail::alias_target
 The storage an assignment writes: the target object and its elements' bytes. More...
struct  mtl::detail::alias_elementwise_binary< T >
struct  mtl::detail::alias_elementwise_binary<::mtl::mat::expr::mat_mat_op_expr< E1, E2, SF > >
struct  mtl::detail::alias_elementwise_unary< T >
struct  mtl::detail::alias_elementwise_unary<::mtl::mat::expr::mat_negate_expr< E > >
struct  mtl::detail::alias_elementwise_unary<::mtl::mat::expr::mat_scal_op_expr< S, M, SF > >
struct  mtl::detail::alias_elementwise_unary<::mtl::mat::expr::mat_rscal_op_expr< M, S, SF > >
struct  mtl::detail::alias_product< T >
struct  mtl::detail::alias_product<::mtl::mat::expr::mat_mat_times_expr< E1, E2 > >

Namespaces

namespace  mtl
namespace  mtl::detail
 mat*vec multiply into pre-allocated y: y = A * x.

Concepts

concept  mtl::detail::alias_view
concept  mtl::detail::alias_contiguous_leaf
concept  mtl::detail::alias_known_storage
 A leaf whose element storage for_each_storage_range can list.

Functions

template<typename T>
bool mtl::detail::alias_storage_overlaps (const T &m, const alias_target &t)
 Whether a known-storage leaf is the target or any of its storage overlaps the target's elements.
template<typename T>
bool mtl::detail::alias_overlaps (const T &m, const alias_target &t)
 Whether the leaf's contiguous storage overlaps the target's.
template<typename E>
bool mtl::detail::alias_reaches_target (const E &e, const alias_target &t)
 Whether evaluating e reads the target's storage at all.
template<typename E>
bool mtl::detail::alias_reads_target_elsewhere (const E &e, const alias_target &t)
 Whether evaluating e element by element into the target can read an element of the target other than the one being written.