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

TestUploMatrix class. More...

#include <TestUploMatrix.hpp>

Inheritance diagram for tlapack::TestUploMatrix< T, idx_t, uplo, L >:
Collaboration diagram for tlapack::TestUploMatrix< T, idx_t, uplo, L >:

Public Member Functions

constexpr const T & operator() (idx_t i, idx_t j) const noexcept
 
constexpr T & operator() (idx_t i, idx_t j) noexcept
 
 TestUploMatrix (const LegacyMatrix< T, idx_t, L > &A)
 
- Public Member Functions inherited from tlapack::LegacyMatrix< T, idx_t, L, >
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

int modifier
 Modifier to the access region. Enables slicing of the matrix.
 
- Public Attributes inherited from tlapack::LegacyMatrix< T, idx_t, L, >
idx_t ldim
 Leading dimension.
 
idx_t m
 
idx_t n
 Sizes.
 
T * ptr
 Pointer to array in memory.
 

Additional Inherited Members

- Static Public Attributes inherited from tlapack::LegacyMatrix< T, idx_t, L, >
static constexpr Layout layout = L
 

Detailed Description

template<class T, class idx_t = std::size_t, Uplo uplo = Uplo::Upper, Layout L = Layout::ColMajor>
struct tlapack::TestUploMatrix< T, idx_t, uplo, L >

TestUploMatrix class.

This class is used to test if a method is accessing the correct elements of a matrix. The access region can be either the upper or lower triangular part of the matrix.

Template Parameters
TType of the elements.
idx_tType of the indices.
uploUplo value.
LLayout value.

Member Data Documentation

◆ modifier

template<class T , class idx_t = std::size_t, Uplo uplo = Uplo::Upper, Layout L = Layout::ColMajor>
int tlapack::TestUploMatrix< T, idx_t, uplo, L >::modifier
Initial value:
=
0

Modifier to the access region. Enables slicing of the matrix.


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