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

Concept satisfied by dense matrix types eligible for complex-Hermitian LAPACK dispatch (cheev/zheev). 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 complex-Hermitian LAPACK dispatch (cheev/zheev).
Definition dispatch_traits.hpp:106
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_lapack_complex_v
True for complex scalar types backed by LAPACK (complex<float>, complex<double>).
Definition dispatch_traits.hpp:25

Detailed Description

Concept satisfied by dense matrix types eligible for complex-Hermitian LAPACK dispatch (cheev/zheev).

Same shape as BlasDenseMatrix but for a complex<float/double> value_type. The caller is responsible for the matrix actually being Hermitian; only the storage/scalar shape is checked here.