IODA
ioda::detail::EigenCompat Namespace Reference

Functions to work with Eigen. More...

Typedefs

template<class EigenClass , class ResizeableBase = ::Eigen::PlainObjectBase<EigenClass>>
using CanResize = ::std::is_base_of< ResizeableBase, EigenClass >
 

Functions

template<class EigenClass >
typename ::std::enable_if< CanResize< EigenClass >::value >::type DoEigenResize (EigenClass &e, ::Eigen::Index rows, ::Eigen::Index cols)
 
template<class EigenClass >
typename ::std::enable_if<!CanResize< EigenClass >::value >::type DoEigenResize (EigenClass &, ::Eigen::Index, ::Eigen::Index)
 
template<class EigenClass >
Dimensions getTensorDimensions (EigenClass &e)
 

Detailed Description

Functions to work with Eigen.

Typedef Documentation

◆ CanResize

template<class EigenClass , class ResizeableBase = ::Eigen::PlainObjectBase<EigenClass>>
using ioda::detail::EigenCompat::CanResize = typedef ::std::is_base_of<ResizeableBase, EigenClass>

Definition at line 54 of file Eigen_Compat.h.

Function Documentation

◆ DoEigenResize() [1/2]

template<class EigenClass >
typename ::std::enable_if<!CanResize<EigenClass>::value>::type ioda::detail::EigenCompat::DoEigenResize ( EigenClass &  ,
::Eigen::Index  ,
::Eigen::Index   
)
Todo:
Make a static_assert!

Definition at line 65 of file Eigen_Compat.h.

◆ DoEigenResize() [2/2]

template<class EigenClass >
typename ::std::enable_if<CanResize<EigenClass>::value>::type ioda::detail::EigenCompat::DoEigenResize ( EigenClass &  e,
::Eigen::Index  rows,
::Eigen::Index  cols 
)

Definition at line 57 of file Eigen_Compat.h.

Here is the caller graph for this function:

◆ getTensorDimensions()

template<class EigenClass >
Dimensions ioda::detail::EigenCompat::getTensorDimensions ( EigenClass &  e)

Definition at line 72 of file Eigen_Compat.h.

Here is the caller graph for this function: