11#ifndef TLAPACK_LEGACY_VECTOR_HH
12#define TLAPACK_LEGACY_VECTOR_HH
24 constexpr operator int()
const {
return 1; }
37 class idx_t = std::size_t,
49 constexpr const T& operator[](idx_t i)
const noexcept
57 constexpr T& operator[](idx_t i)
noexcept
#define tlapack_check_false(cond)
Throw an error if cond is true.
Definition exceptionHandling.hpp:113
Concept for vectors that can be converted to a legacy vector.
Sort the numbers in D in increasing order (if ID = 'I') or in decreasing order (if ID = 'D' ).
Definition arrayTraits.hpp:15
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
Direction
Definition types.hpp:352
@ Forward
Forward direction.
@ Backward
Backward direction.
Legacy vector.
Definition LegacyVector.hpp:42
T * ptr
Pointer to array in memory.
Definition LegacyVector.hpp:44
int_t inc
Memory increment.
Definition LegacyVector.hpp:45
idx_t n
Size.
Definition LegacyVector.hpp:43
Auxiliary data type to vector increments.
Definition LegacyVector.hpp:23