DiSMEC++
dismec::types::GenericMatrixRef< T > Class Template Reference

#include <eigen_generic.h>

Inheritance diagram for dismec::types::GenericMatrixRef< T >:
dismec::types::RefVariant< DenseRowMajor< T >, DenseColMajor< T >, SparseRowMajor< T >, SparseColMajor< T > > dismec::types::EigenVariantWrapper< Eigen::Ref< Types >... > dismec::types::VarWrapBase

Public Types

using base_t = RefVariant< DenseRowMajor< T >, DenseColMajor< T >, SparseRowMajor< T >, SparseColMajor< T > >
 
using DenseRowMajorRef = Eigen::Ref< DenseRowMajor< T > >
 
using DenseColMajorRef = Eigen::Ref< DenseColMajor< T > >
 
using SparseRowMajorRef = Eigen::Ref< SparseRowMajor< T > >
 
using SparseColMajorRef = Eigen::Ref< SparseColMajor< T > >
 
- Public Types inherited from dismec::types::RefVariant< DenseRowMajor< T >, DenseColMajor< T >, SparseRowMajor< T >, SparseColMajor< T > >
using base_t = EigenVariantWrapper< Eigen::Ref< Types >... >
 
- Public Types inherited from dismec::types::EigenVariantWrapper< Eigen::Ref< Types >... >
using variant_t = std::variant< Types... >
 

Public Member Functions

 GenericMatrixRef (DenseRowMajorRef m)
 
 GenericMatrixRef (DenseColMajorRef m)
 
 GenericMatrixRef (SparseRowMajorRef m)
 
 GenericMatrixRef (SparseColMajorRef m)
 
 GenericMatrixRef (const DenseRowMajor< T > &m)
 
 GenericMatrixRef (const DenseColMajor< T > &m)
 
 GenericMatrixRef (const SparseRowMajor< T > &m)
 
 GenericMatrixRef (const SparseColMajor< T > &m)
 
- Public Member Functions inherited from dismec::types::EigenVariantWrapper< Eigen::Ref< Types >... >
 EigenVariantWrapper (T &&source)
 
auto size () const
 
auto rows () const
 
auto cols () const
 
variant_tunpack_variant ()
 
const variant_tunpack_variant () const
 
T & get ()
 
const T & get () const
 

Additional Inherited Members

- Protected Attributes inherited from dismec::types::EigenVariantWrapper< Eigen::Ref< Types >... >
variant_t m_Variant
 

Detailed Description

template<class T>
class dismec::types::GenericMatrixRef< T >

Definition at line 163 of file eigen_generic.h.

Member Typedef Documentation

◆ base_t

Definition at line 165 of file eigen_generic.h.

◆ DenseColMajorRef

template<class T >
using dismec::types::GenericMatrixRef< T >::DenseColMajorRef = Eigen::Ref<DenseColMajor<T> >

Definition at line 168 of file eigen_generic.h.

◆ DenseRowMajorRef

template<class T >
using dismec::types::GenericMatrixRef< T >::DenseRowMajorRef = Eigen::Ref<DenseRowMajor<T> >

Definition at line 167 of file eigen_generic.h.

◆ SparseColMajorRef

template<class T >
using dismec::types::GenericMatrixRef< T >::SparseColMajorRef = Eigen::Ref<SparseColMajor<T> >

Definition at line 170 of file eigen_generic.h.

◆ SparseRowMajorRef

template<class T >
using dismec::types::GenericMatrixRef< T >::SparseRowMajorRef = Eigen::Ref<SparseRowMajor<T> >

Definition at line 169 of file eigen_generic.h.

Constructor & Destructor Documentation

◆ GenericMatrixRef() [1/8]

template<class T >
dismec::types::GenericMatrixRef< T >::GenericMatrixRef ( DenseRowMajorRef  m)
inline

Definition at line 172 of file eigen_generic.h.

◆ GenericMatrixRef() [2/8]

template<class T >
dismec::types::GenericMatrixRef< T >::GenericMatrixRef ( DenseColMajorRef  m)
inline

Definition at line 173 of file eigen_generic.h.

◆ GenericMatrixRef() [3/8]

template<class T >
dismec::types::GenericMatrixRef< T >::GenericMatrixRef ( SparseRowMajorRef  m)
inline

Definition at line 174 of file eigen_generic.h.

◆ GenericMatrixRef() [4/8]

template<class T >
dismec::types::GenericMatrixRef< T >::GenericMatrixRef ( SparseColMajorRef  m)
inline

Definition at line 175 of file eigen_generic.h.

◆ GenericMatrixRef() [5/8]

template<class T >
dismec::types::GenericMatrixRef< T >::GenericMatrixRef ( const DenseRowMajor< T > &  m)
inlineexplicit

Definition at line 177 of file eigen_generic.h.

◆ GenericMatrixRef() [6/8]

template<class T >
dismec::types::GenericMatrixRef< T >::GenericMatrixRef ( const DenseColMajor< T > &  m)
inlineexplicit

Definition at line 178 of file eigen_generic.h.

◆ GenericMatrixRef() [7/8]

template<class T >
dismec::types::GenericMatrixRef< T >::GenericMatrixRef ( const SparseRowMajor< T > &  m)
inlineexplicit

Definition at line 179 of file eigen_generic.h.

◆ GenericMatrixRef() [8/8]

template<class T >
dismec::types::GenericMatrixRef< T >::GenericMatrixRef ( const SparseColMajor< T > &  m)
inlineexplicit

Definition at line 180 of file eigen_generic.h.


The documentation for this class was generated from the following files: