<T>LAPACK 0.1.1
C++ Template Linear Algebra PACKage
Loading...
Searching...
No Matches
tlapack::concepts::LegacyArray Concept Reference

Concept definition

template<typename T>
concept tlapack::concepts::LegacyArray = requires(const T& A)
{
{
(legacy_matrix(A)).layout
}
->std::convertible_to<tlapack::Layout>;
{
(legacy_matrix(A)).m
}
->std::convertible_to<size_type<T>>;
{
(legacy_matrix(A)).n
}
->std::convertible_to<size_type<T>>;
{
(legacy_matrix(A)).ptr[0]
}
->std::convertible_to<type_t<T>>;
{
(legacy_matrix(A)).ldim
}
->std::convertible_to<size_type<T>>;
}
Layout
Definition types.hpp:24
Definition concepts.hpp:652
typename traits::real_type_traits< Types..., int >::type real_type
The common real type of the list of types.
Definition scalar_type_traits.hpp:113