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

A 1D collection with indexed access. More...

#include <vector.hpp>

Concept definition

template<typename T>
concept mtl::Vector = Collection<T> && requires(const T& v, std::size_t i) {
{ v(i) } -> std::convertible_to<typename T::value_type>;
}
A read-only collection with value_type, size_type, and size().
Definition collection.hpp:10
A 1D collection with indexed access.
Definition vector.hpp:11

Detailed Description

A 1D collection with indexed access.