CortidQCT  1.2.2.52
Classes | Namespaces | Functions
EigenAdaptors.h File Reference

This header contains adaptor functions for Eigen types. More...

#include <Eigen/Core>
#include <gsl/gsl>
#include <array>
Include dependency graph for EigenAdaptors.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CortidQCT::Internal::Adaptor::Detail_::ConstructionHelper< T, N >
 
struct  CortidQCT::Internal::Adaptor::Detail_::ConstructionHelper< T, 0 >
 
struct  CortidQCT::Internal::Adaptor::Detail_::ConstructionHelper< std::array< T, N >, 0 >
 

Namespaces

 CortidQCT
 Name namespace for CortidQCT library.
 

Functions

template<class T , class I >
constexpr auto CortidQCT::Internal::Adaptor::Detail_::subscript (T &&x, I i) noexcept(noexcept(std::declval< T >()[i]))
 
template<class Derived , class I >
constexpr auto CortidQCT::Internal::Adaptor::Detail_::subscript (Eigen::MatrixBase< Derived > const &x, I i) noexcept(noexcept(x(std::declval< Eigen::Index >())))
 
template<class Derived , class I >
constexpr auto CortidQCT::Internal::Adaptor::Detail_::subscript (Eigen::MatrixBase< Derived > &&x, I i) noexcept(noexcept(x(std::declval< Eigen::Index >())))
 
template<class T , std::size_t N>
Eigen::Matrix< T, static_cast< Eigen::Index >N), 1 > CortidQCT::Internal::Adaptor::vec (std::array< T, N > const &arr)
 Converts an std::array based vector into an Eigen vector.
 
template<class Derived >
std::array< typename Derived::Scalar, static_cast< std::size_t >Derived::RowsAtCompileTime)> CortidQCT::Internal::Adaptor::arr (Eigen::MatrixBase< Derived > const &vec) noexcept
 Converts an Eigen vector to a std::array based one.
 
template<class T >
Eigen::Map< Eigen::Matrix< T, Eigen::Dynamic, 1 > const > CortidQCT::Internal::Adaptor::map (std::vector< T > const &v)
 
template<class T >
Eigen::Map< Eigen::Matrix< T, Eigen::Dynamic, 1 > > CortidQCT::Internal::Adaptor::map (std::vector< T > &v)
 
template<std::size_t N, class T >
Eigen::Map< Eigen::Matrix< T, static_cast< Eigen::Index >N), Eigen::Dynamic > const > CortidQCT::Internal::Adaptor::map (std::vector< std::array< T, N >> const &m)
 
template<std::size_t N, class T >
Eigen::Map< Eigen::Matrix< T, static_cast< Eigen::Index >N), Eigen::Dynamic > > CortidQCT::Internal::Adaptor::map (std::vector< std::array< T, N >> &m)
 

Detailed Description

This header contains adaptor functions for Eigen types.

Author
Stefan Reinhold