10#ifndef TLAPACK_LEGACY_LEGACYARRAY_HH
11#define TLAPACK_LEGACY_LEGACYARRAY_HH
21 constexpr auto create_matrix(T* A, idx_t m, idx_t n, idx_t lda)
27 constexpr auto create_matrix(T* A, idx_t m, idx_t n)
33 constexpr auto create_rowmajor_matrix(T* A, idx_t m, idx_t n, idx_t lda)
39 constexpr auto create_rowmajor_matrix(T* A, idx_t m, idx_t n)
45 constexpr auto create_banded_matrix(
46 T* A, idx_t m, idx_t n, idx_t kl, idx_t ku)
48 return LegacyBandedMatrix<T, idx_t>{m, n, kl, ku, A};
51 template <
typename T,
typename int_t>
52 constexpr auto create_vector(T* x, idx_t n, int_t inc)
58 constexpr auto create_vector(T* x, idx_t n)
63 template <
typename T,
typename int_t>
64 constexpr auto create_backward_vector(T* x, idx_t n, int_t inc)
71 constexpr auto create_backward_vector(T* x, idx_t n)
74 Direction::Backward>{n, x};
Concept for matrices that can be converted to a legacy matrix.
Concept for vectors that can be converted to a legacy vector.
Auxiliary data type to vector increments.
Definition LegacyVector.hpp:23