IODA
Eigen_Compat.h File Reference

Convenience functions to work with Eigen objects. More...

#include <type_traits>
#include <vector>
#include "ioda/defs.h"
#include "Eigen/Dense"
#include "unsupported/Eigen/CXX11/Tensor"
#include "ioda/Misc/Dimensions.h"
Include dependency graph for Eigen_Compat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Eigen
 See the Eigen3 project for stuff in this namespace.
 
 ioda
 
 ioda::detail
 
 ioda::detail::EigenCompat
 Functions to work with Eigen.
 

Typedefs

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

Enumerations

enum class  ioda::ioda_Eigen_Resize { ioda::Resize , ioda::No_Resize }
 Do we want to auto-resize the Eigen object on read to fit the data being read? More...
 

Functions

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

Detailed Description

Convenience functions to work with Eigen objects.

Definition in file Eigen_Compat.h.