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

Concept satisfied by dense vector types usable as an operand or an output of a row-partitioned kernel. More...

#include <dispatch_traits.hpp>

Concept definition

template<typename V>
requires(const V& v) {
{ v.data() } -> std::convertible_to<const typename V::value_type*>;
{ v.size() };
}
True when a vector type's storage is CONTIGUOUS – data()[i] IS element i.
Definition dispatch_traits.hpp:138
Concept satisfied by dense vector types usable as an operand or an output of a row-partitioned kernel...
Definition dispatch_traits.hpp:272

Detailed Description

Concept satisfied by dense vector types usable as an operand or an output of a row-partitioned kernel.

Same reasoning as ThreadableDenseMatrix, plus the ContiguousVector stride check that every other dense-shape concept here carries.