Vulpes  0.1.0
Versatile and parallel compUtational Library for high-order discontinuous Polytopal Element Simulations
Loading...
Searching...
No Matches
EigenVulpes::SymMat< CrossId, ArgType > Class Template Reference

Eigen expression representing a rank-1-derived symmetric matrix. More...

#include <eigen.hpp>

Inheritance diagram for EigenVulpes::SymMat< CrossId, ArgType >:
[legend]
Collaboration diagram for EigenVulpes::SymMat< CrossId, ArgType >:
[legend]

Public Types

typedef Eigen::internal::ref_selector< SymMat >::type Nested
typedef Eigen::Index Index
typedef Eigen::internal::ref_selector< ArgType >::type ArgTypeNested

Public Member Functions

 SymMat (const ArgType &arg)
Index rows () const
Index cols () const

Public Attributes

ArgTypeNested m_arg

Detailed Description

template<Eigen::Index CrossId, class ArgType>
class EigenVulpes::SymMat< CrossId, ArgType >

Eigen expression representing a rank-1-derived symmetric matrix.

Given a column vector arg, SymMat<CrossId, ArgType> is a square Eigen expression where row/column CrossId holds arg's coefficients (halved off the diagonal) and all other entries are zero.

Template Parameters
CrossIdRow/column index that carries the vector's coefficients.
ArgTypeEigen type of the underlying column vector.

Member Typedef Documentation

◆ ArgTypeNested

template<Eigen::Index CrossId, class ArgType>
typedef Eigen::internal::ref_selector<ArgType>::type EigenVulpes::SymMat< CrossId, ArgType >::ArgTypeNested

◆ Index

template<Eigen::Index CrossId, class ArgType>
typedef Eigen::Index EigenVulpes::SymMat< CrossId, ArgType >::Index

◆ Nested

template<Eigen::Index CrossId, class ArgType>
typedef Eigen::internal::ref_selector<SymMat>::type EigenVulpes::SymMat< CrossId, ArgType >::Nested

Constructor & Destructor Documentation

◆ SymMat()

template<Eigen::Index CrossId, class ArgType>
EigenVulpes::SymMat< CrossId, ArgType >::SymMat ( const ArgType & arg)
inlineexplicit

Member Function Documentation

◆ cols()

template<Eigen::Index CrossId, class ArgType>
Index EigenVulpes::SymMat< CrossId, ArgType >::cols ( ) const
inline

◆ rows()

template<Eigen::Index CrossId, class ArgType>
Index EigenVulpes::SymMat< CrossId, ArgType >::rows ( ) const
inline

Member Data Documentation

◆ m_arg

template<Eigen::Index CrossId, class ArgType>
ArgTypeNested EigenVulpes::SymMat< CrossId, ArgType >::m_arg

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