<T>LAPACK 0.1.2
C++ Template Linear Algebra PACKage
|
Concept for vectors. More...
#include <concepts.hpp>
Concept for vectors.
A vector is a one-dimensional array of elements. The indexes and sizes of a vector are representable by an integral type idx_t
. The following operations must be available:
vector_t::operator[](idx_t)
. Entry i of a vector v is accessed using v[i]
.size(const vector_t&)
. This function must be callable from the namespace tlapack
.Optionally, the vector type can also implement:
tlapack::traits::layout_trait<vector_t,int>
, with a member value
that satisfies the concept tlapack::concepts::Layout.tlapack::traits::matrix_type_traits<vector_t,vector_t,int>
, with a member type
that satisfies the concept tlapack::concepts::Matrix.tlapack::traits::vector_type_traits<vector_t,vector_t,int>
, with a member type
that satisfies the concept tlapack::concepts::Vector.vector_t | Vector type. |