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

Legacy matrix. More...

#include <LegacyMatrix.hpp>

Inheritance diagram for tlapack::LegacyMatrix< T, idx_t, L, >:

Public Member Functions

constexpr LegacyMatrix (idx_t m, idx_t n, T *ptr)
 
constexpr LegacyMatrix (idx_t m, idx_t n, T *ptr, idx_t ldim)
 
constexpr const T & operator() (idx_t i, idx_t j) const noexcept
 
constexpr T & operator() (idx_t i, idx_t j) noexcept
 

Public Attributes

idx_t ldim
 Leading dimension.
 
idx_t m
 
idx_t n
 Sizes.
 
T * ptr
 Pointer to array in memory.
 

Static Public Attributes

static constexpr Layout layout = L
 

Detailed Description

template<class T, class idx_t = std::size_t, Layout L = Layout::ColMajor, std::enable_if_t<(L==Layout::RowMajor)||(L==Layout::ColMajor), int > = 0>
struct tlapack::LegacyMatrix< T, idx_t, L, >

Legacy matrix.

LegacyMatrix::ldim is assumed to be positive.

Template Parameters
TFloating-point type
idx_tIndex type
LEither Layout::ColMajor or Layout::RowMajor

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