DiSMEC++
dismec::types::GenericMatrix< Dense, Sparse > Class Template Reference

#include <eigen_generic.h>

Inheritance diagram for dismec::types::GenericMatrix< Dense, Sparse >:
dismec::types::EigenVariantWrapper< Dense, Sparse > dismec::types::VarWrapBase

Public Types

using base_t = EigenVariantWrapper< Dense, Sparse >
 
- Public Types inherited from dismec::types::EigenVariantWrapper< Dense, Sparse >
using variant_t = std::variant< Types... >
 

Public Member Functions

const Dense & dense () const
 
Dense & dense ()
 
const Sparse & sparse () const
 
Sparse & sparse ()
 
bool is_sparse () const
 
- Public Member Functions inherited from dismec::types::EigenVariantWrapper< Dense, Sparse >
 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< Dense, Sparse >
variant_t m_Variant
 

Detailed Description

template<class Dense, class Sparse>
class dismec::types::GenericMatrix< Dense, Sparse >

Definition at line 100 of file eigen_generic.h.

Member Typedef Documentation

◆ base_t

template<class Dense , class Sparse >
using dismec::types::GenericMatrix< Dense, Sparse >::base_t = EigenVariantWrapper<Dense, Sparse>

Definition at line 102 of file eigen_generic.h.

Member Function Documentation

◆ dense() [1/2]

template<class Dense , class Sparse >
Dense& dismec::types::GenericMatrix< Dense, Sparse >::dense ( )
inline

◆ dense() [2/2]

template<class Dense , class Sparse >
const Dense& dismec::types::GenericMatrix< Dense, Sparse >::dense ( ) const
inline

◆ is_sparse()

template<class Dense , class Sparse >
bool dismec::types::GenericMatrix< Dense, Sparse >::is_sparse ( ) const
inline

◆ sparse() [1/2]

template<class Dense , class Sparse >
Sparse& dismec::types::GenericMatrix< Dense, Sparse >::sparse ( )
inline

◆ sparse() [2/2]

template<class Dense , class Sparse >
const Sparse& dismec::types::GenericMatrix< Dense, Sparse >::sparse ( ) const
inline

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