<T>LAPACK 0.1.1
C++ Template Linear Algebra PACKage
Loading...
Searching...
No Matches
legacyArray.hpp File Reference
Include dependency graph for legacyArray.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tlapack::traits::complex_type_traits< LegacyMatrix< T, idx_t, layout >, int >
 
struct  tlapack::traits::complex_type_traits< LegacyVector< T, idx_t, int_t, D >, int >
 
struct  tlapack::traits::CreateFunctor< LegacyMatrix< U, idx_t, layout >, int >
 Create LegacyMatrix. More...
 
struct  tlapack::traits::CreateFunctor< LegacyVector< U, idx_t, int_t, D >, int >
 Create LegacyVector. More...
 
struct  tlapack::traits::CreateStaticFunctor< LegacyMatrix< U, idx_t, layout >, m, n, int >
 Create LegacyMatrix. More...
 
struct  tlapack::traits::CreateStaticFunctor< LegacyVector< U, idx_t, int_t, D >, n, -1, int >
 Create LegacyVector. More...
 
struct  tlapack::traits::layout_trait< LegacyMatrix< T, idx_t, L >, int >
 Layout for LegacyMatrix. More...
 
struct  tlapack::traits::layout_trait< LegacyVector< T, idx_t, int_t, D >, int >
 Layout for LegacyVector. More...
 
struct  tlapack::traits::matrix_type_traits< matrixA_t, matrixB_t, typename std::enable_if<((is_legacy_type< matrixA_t >||is_legacy_type< matrixB_t >)&&cast_to_legacy_type< matrixA_t > &&cast_to_legacy_type< matrixB_t >), int >::type >
 
struct  tlapack::traits::matrix_type_traits< vecA_t, vecB_t, std::enable_if_t< traits::is_stdvector_type< vecA_t > &&traits::is_stdvector_type< vecB_t >, int > >
 
struct  tlapack::traits::real_type_traits< LegacyMatrix< T, idx_t, layout >, int >
 
struct  tlapack::traits::real_type_traits< LegacyVector< T, idx_t, int_t, D >, int >
 
struct  tlapack::traits::vector_type_traits< vecA_t, vecB_t, std::enable_if_t< traits::is_stdvector_type< vecA_t > &&traits::is_stdvector_type< vecB_t >, int > >
 
struct  tlapack::traits::vector_type_traits< vecA_t, vecB_t, typename std::enable_if<((is_legacy_type< vecA_t >||is_legacy_type< vecB_t >)&&cast_to_legacy_type< vecA_t > &&cast_to_legacy_type< vecB_t >), int >::type >
 

Functions

template<typename T , class idx_t >
constexpr auto tlapack::col (const LegacyMatrix< T, idx_t > &A, size_type< LegacyMatrix< T, idx_t > > colIdx) noexcept
 
template<typename T , class idx_t >
constexpr auto tlapack::col (const LegacyMatrix< T, idx_t, Layout::RowMajor > &A, size_type< LegacyMatrix< T, idx_t, Layout::RowMajor > > colIdx) noexcept
 
template<typename T , class idx_t >
constexpr auto tlapack::col (LegacyMatrix< T, idx_t > &A, size_type< LegacyMatrix< T, idx_t > > colIdx) noexcept
 
template<typename T , class idx_t >
constexpr auto tlapack::col (LegacyMatrix< T, idx_t, Layout::RowMajor > &A, size_type< LegacyMatrix< T, idx_t, Layout::RowMajor > > colIdx) noexcept
 
template<typename T , class idx_t , Layout layout, class SliceSpec >
constexpr auto tlapack::cols (const LegacyMatrix< T, idx_t, layout > &A, SliceSpec &&cols) noexcept
 
template<typename T , class idx_t , Layout layout, class SliceSpec >
constexpr auto tlapack::cols (LegacyMatrix< T, idx_t, layout > &A, SliceSpec &&cols) noexcept
 
template<typename T , class idx_t , Layout layout>
constexpr auto tlapack::diag (const LegacyMatrix< T, idx_t, layout > &A, int diagIdx=0) noexcept
 
template<typename T , class idx_t , Layout layout>
constexpr auto tlapack::diag (LegacyMatrix< T, idx_t, layout > &A, int diagIdx=0) noexcept
 
template<typename T , class idx_t , Layout L>
std::true_type tlapack::traits::internal::is_legacy_type_f (const LegacyMatrix< T, idx_t, L > *)
 
template<typename T , class idx_t , class int_t , Direction D>
std::true_type tlapack::traits::internal::is_legacy_type_f (const LegacyVector< T, idx_t, int_t, D > *)
 
std::false_type tlapack::traits::internal::is_legacy_type_f (const void *)
 
template<typename T , class idx_t , Layout layout>
constexpr auto tlapack::legacy_matrix (const LegacyMatrix< T, idx_t, layout > &A) noexcept
 
template<class T , class idx_t , class int_t , Direction direction>
constexpr auto tlapack::legacy_matrix (const LegacyVector< T, idx_t, int_t, direction > &v) noexcept
 
template<typename T , class idx_t , typename int_t , Direction direction>
constexpr auto tlapack::legacy_vector (const LegacyVector< T, idx_t, int_t, direction > &v) noexcept
 
template<typename T , class idx_t >
constexpr auto tlapack::lowerband (const LegacyBandedMatrix< T, idx_t > &A) noexcept
 
template<typename T , class idx_t >
constexpr auto tlapack::ncols (const LegacyBandedMatrix< T, idx_t > &A) noexcept
 
template<typename T , class idx_t , Layout layout>
constexpr auto tlapack::ncols (const LegacyMatrix< T, idx_t, layout > &A) noexcept
 
template<typename T , class idx_t >
constexpr auto tlapack::nrows (const LegacyBandedMatrix< T, idx_t > &A) noexcept
 
template<typename T , class idx_t , Layout layout>
constexpr auto tlapack::nrows (const LegacyMatrix< T, idx_t, layout > &A) noexcept
 
template<typename T , class idx_t , Layout layout>
auto tlapack::reshape (LegacyMatrix< T, idx_t, layout > &A, size_type< LegacyMatrix< T, idx_t > > m, size_type< LegacyMatrix< T, idx_t > > n)
 
template<typename T , class idx_t , Layout layout>
auto tlapack::reshape (LegacyMatrix< T, idx_t, layout > &A, size_type< LegacyMatrix< T, idx_t > > n)
 
template<typename T , class idx_t , typename int_t , Direction direction>
auto tlapack::reshape (LegacyVector< T, idx_t, int_t, direction > &v, size_type< LegacyMatrix< T, idx_t > > m, size_type< LegacyMatrix< T, idx_t > > n)
 
template<typename T , class idx_t , typename int_t , Direction direction>
auto tlapack::reshape (LegacyVector< T, idx_t, int_t, direction > &v, size_type< LegacyMatrix< T, idx_t > > n)
 
template<typename T , class idx_t >
constexpr auto tlapack::row (const LegacyMatrix< T, idx_t > &A, size_type< LegacyMatrix< T, idx_t > > rowIdx) noexcept
 
template<typename T , class idx_t >
constexpr auto tlapack::row (const LegacyMatrix< T, idx_t, Layout::RowMajor > &A, size_type< LegacyMatrix< T, idx_t, Layout::RowMajor > > rowIdx) noexcept
 
template<typename T , class idx_t >
constexpr auto tlapack::row (LegacyMatrix< T, idx_t > &A, size_type< LegacyMatrix< T, idx_t > > rowIdx) noexcept
 
template<typename T , class idx_t >
constexpr auto tlapack::row (LegacyMatrix< T, idx_t, Layout::RowMajor > &A, size_type< LegacyMatrix< T, idx_t, Layout::RowMajor > > rowIdx) noexcept
 
template<typename T , class idx_t , Layout layout, class SliceSpec >
constexpr auto tlapack::rows (const LegacyMatrix< T, idx_t, layout > &A, SliceSpec &&rows) noexcept
 
template<typename T , class idx_t , Layout layout, class SliceSpec >
constexpr auto tlapack::rows (LegacyMatrix< T, idx_t, layout > &A, SliceSpec &&rows) noexcept
 
template<typename T , class idx_t >
constexpr auto tlapack::size (const LegacyBandedMatrix< T, idx_t > &A) noexcept
 
template<typename T , class idx_t , Layout layout>
constexpr auto tlapack::size (const LegacyMatrix< T, idx_t, layout > &A) noexcept
 
template<typename T , class idx_t , typename int_t , Direction direction>
constexpr auto tlapack::size (const LegacyVector< T, idx_t, int_t, direction > &x) noexcept
 
template<typename T , class idx_t , Layout layout, class SliceSpecCol >
constexpr auto tlapack::slice (const LegacyMatrix< T, idx_t, layout > &A, size_type< LegacyMatrix< T, idx_t, layout > > rowIdx, SliceSpecCol &&cols) noexcept
 
template<typename T , class idx_t , Layout layout, class SliceSpecRow >
constexpr auto tlapack::slice (const LegacyMatrix< T, idx_t, layout > &A, SliceSpecRow &&rows, size_type< LegacyMatrix< T, idx_t, layout > > colIdx) noexcept
 
template<typename T , class idx_t , Layout layout, class SliceSpecRow , class SliceSpecCol , typename std::enable_if< isSlice(SliceSpecRow) &&isSlice(SliceSpecCol), int >::type = 0>
constexpr auto tlapack::slice (const LegacyMatrix< T, idx_t, layout > &A, SliceSpecRow &&rows, SliceSpecCol &&cols) noexcept
 
template<typename T , class idx_t , typename int_t , Direction direction, class SliceSpec >
constexpr auto tlapack::slice (const LegacyVector< T, idx_t, int_t, direction > &v, SliceSpec &&rows) noexcept
 
template<typename T , class idx_t , Layout layout, class SliceSpecCol >
constexpr auto tlapack::slice (LegacyMatrix< T, idx_t, layout > &A, size_type< LegacyMatrix< T, idx_t, layout > > rowIdx, SliceSpecCol &&cols) noexcept
 
template<typename T , class idx_t , Layout layout, class SliceSpecRow >
constexpr auto tlapack::slice (LegacyMatrix< T, idx_t, layout > &A, SliceSpecRow &&rows, size_type< LegacyMatrix< T, idx_t, layout > > colIdx) noexcept
 
template<typename T , class idx_t , Layout layout, class SliceSpecRow , class SliceSpecCol , typename std::enable_if< isSlice(SliceSpecRow) &&isSlice(SliceSpecCol), int >::type = 0>
constexpr auto tlapack::slice (LegacyMatrix< T, idx_t, layout > &A, SliceSpecRow &&rows, SliceSpecCol &&cols) noexcept
 
template<typename T , class idx_t , typename int_t , Direction direction, class SliceSpec >
constexpr auto tlapack::slice (LegacyVector< T, idx_t, int_t, direction > &v, SliceSpec &&rows) noexcept
 
template<typename T , class idx_t >
constexpr auto tlapack::transpose_view (const LegacyMatrix< T, idx_t, Layout::ColMajor > &A) noexcept
 
template<typename T , class idx_t >
constexpr auto tlapack::transpose_view (const LegacyMatrix< T, idx_t, Layout::RowMajor > &A) noexcept
 
template<typename T , class idx_t >
constexpr auto tlapack::transpose_view (LegacyMatrix< T, idx_t, Layout::ColMajor > &A) noexcept
 
template<typename T , class idx_t >
constexpr auto tlapack::transpose_view (LegacyMatrix< T, idx_t, Layout::RowMajor > &A) noexcept
 
template<typename T , class idx_t >
constexpr auto tlapack::upperband (const LegacyBandedMatrix< T, idx_t > &A) noexcept
 

Variables

template<typename T >
constexpr bool tlapack::traits::cast_to_legacy_type
 
template<class T >
constexpr bool tlapack::traits::is_legacy_type
 True if T is a legacy array.
 

Detailed Description

Author
Weslley S Pereira, University of Colorado Denver, USA

Variable Documentation

◆ cast_to_legacy_type

template<typename T >
constexpr bool tlapack::traits::cast_to_legacy_type
constexpr
Initial value:
=
is_legacy_type<T> || is_stdvector_type<T>

◆ is_legacy_type

template<class T >
constexpr bool tlapack::traits::is_legacy_type
constexpr
Initial value:
=
decltype(internal::is_legacy_type_f(std::declval<T*>()))::value

True if T is a legacy array.

See also
https://stackoverflow.com/a/25223400/5253097