<T>LAPACK 0.1.1
C++ Template Linear Algebra PACKage
Loading...
Searching...
No Matches
tlapack::LegacyVector< T, idx_t, int_t, D, > Struct Template Reference

Legacy vector. More...

#include <LegacyVector.hpp>

Collaboration diagram for tlapack::LegacyVector< T, idx_t, int_t, D, >:

Public Member Functions

constexpr LegacyVector (idx_t n, T *ptr, int_t inc=1)
 
constexpr const T & operator[] (idx_t i) const noexcept
 
constexpr T & operator[] (idx_t i) noexcept
 

Public Attributes

int_t inc
 Memory increment.
 
idx_t n
 Size.
 
T * ptr
 Pointer to array in memory.
 

Static Public Attributes

static constexpr Direction direction = D
 

Detailed Description

template<typename T, class idx_t = std::size_t, typename int_t = internal::StrongOne, Direction D = Direction::Forward, std::enable_if_t<(D==Direction::Forward)||(D==Direction::Backward), int > = 0>
struct tlapack::LegacyVector< T, idx_t, int_t, D, >

Legacy vector.

Template Parameters
TFloating-point type
idx_tIndex type
DEither Direction::Forward or Direction::Backward

The documentation for this struct was generated from the following file: