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

Concept satisfied by dense matrix types eligible for BLAS/LAPACK dispatch. More...

#include <dispatch_traits.hpp>

Concept definition

template<typename M>
requires(const M& m) {
{ m.data() } -> std::convertible_to<const typename M::value_type*>;
{ m.num_rows() };
{ m.num_cols() };
}
Concept satisfied by dense matrix types eligible for BLAS/LAPACK dispatch.
Definition dispatch_traits.hpp:93
constexpr bool host_resident_v
Whether host code, and so every dispatch target in this header, may read M's elements.
Definition dispatch_traits.hpp:60
constexpr bool is_blas_scalar_v
True for scalar types supported by standard BLAS/LAPACK (float, double).
Definition dispatch_traits.hpp:19

Detailed Description

Concept satisfied by dense matrix types eligible for BLAS/LAPACK dispatch.

Requires: float/double value_type, host-resident contiguous data() pointer, num_rows/num_cols.