|
<T>LAPACK 0.1.2
C++ Template Linear Algebra PACKage
|
Concept for arrays that implement tlapack::traits::CreateFunctor and tlapack::traits::CreateStaticFunctor. More...
#include <concepts.hpp>
Concept for arrays that implement tlapack::traits::CreateFunctor and tlapack::traits::CreateStaticFunctor.
A constructable array must provide implementations of the functors tlapack::traits::CreateFunctor and tlapack::traits::CreateStaticFunctor for the types tlapack::matrix_type<array_t> and tlapack::vector_type<array_t>.
tlapack::traits::CreateFunctor<tlapack::matrix_type<array_t>, int> must provide the method operator()(std::vector<T>&, idx_t, idx_t), where T = tlapack::type_t<array_t> and idx_t = tlapack::size_type<array_t>. The output of the functor satisfies the concept tlapack::concepts::Matrix.tlapack::traits::CreateFunctor<tlapack::vector_type<array_t>, int> must provide the method operator()(std::vector<T>&, idx_t), where T = tlapack::type_t<array_t> and idx_t = tlapack::size_type<array_t>. The output of the functor satisfies the concept tlapack::concepts::Vector.tlapack::traits::CreateStaticFunctor<tlapack::matrix_type<array_t>, m, n, int> must provide the method operator()(T*), where T = tlapack::type_t<array_t>. The output of the functor satisfies the concept tlapack::concepts::Matrix.tlapack::traits::CreateStaticFunctor<tlapack::vector_type<array_t>, n, int> must provide the method operator()(T*), where T = tlapack::type_t<array_t>. The output of the functor satisfies the concept tlapack::concepts::Vector.| array_t | Matrix or vector type. |