Tomographer  v5.4
Tomographer C++ Framework Documentation
eigenutil.h File Reference

(v5.4)

Basic utilities for dealing with Eigen matrices and other types. More...

#include <complex>
#include <vector>
#include <Eigen/Core>
#include <Eigen/Dense>
#include <Eigen/StdVector>
#include <boost/serialization/serialization.hpp>
#include <boost/serialization/split_free.hpp>
#include <boost/serialization/complex.hpp>
+ Include dependency graph for eigenutil.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Tomographer::Tools::EigenStdVector< EigenType >
 Use this if you need an std::vector of any Eigen type. More...
 

Namespaces

 Tomographer
 Base namespace for the Tomographer project.
 
 Tomographer::Tools
 Various useful tools.
 

Functions

template<typename Der , typename Rng , typename RndDist , typename... IndexTypes>
auto Tomographer::Tools::denseRandom (Rng &rng, RndDist &rnddist, IndexTypes... sizes) -> const Eigen::CwiseNullaryOp< tomo_internal::random_generator< Rng, RndDist, typename Eigen::internal::traits< Der >::Scalar >, Der >
 a matrix populated with random entries using C++'s random framework More...
 
template<typename Der , typename IndexType >
auto Tomographer::Tools::canonicalBasisVec (IndexType k, IndexType size) -> const Eigen::CwiseNullaryOp< tomo_internal::can_basis_vec_generator< typename Eigen::internal::traits< Der >::Scalar, IndexType >, Der >
 Expression for the k-th canonical basis vector of given dimension. More...
 
template<typename Der , typename IndexType >
auto Tomographer::Tools::canonicalBasisVec (IndexType k, IndexType j, IndexType rows, IndexType cols) -> const Eigen::CwiseNullaryOp< tomo_internal::can_basis_vec_generator< typename Eigen::internal::traits< Der >::Scalar, IndexType >, Der >
 Expression for the (k,j)-th canonical basis matrix of given dimension. More...
 
template<typename Der , typename... IndexTypes>
auto Tomographer::Tools::powersOfTwo (IndexTypes... sizes) -> const Eigen::CwiseNullaryOp< tomo_internal::powers_of_two_generator< typename Eigen::internal::traits< Der >::Scalar >, Der >
 Expression for a 1-D expression of powers of two. More...
 
template<int RowFactorCTime, int ColFactorCTime, typename Derived , typename std::enable_if<(RowFactorCTime==Eigen::Dynamic||ColFactorCTime==Eigen::Dynamic), bool >::type dummy = true>
auto Tomographer::Tools::replicated (const Eigen::DenseBase< Derived > &x, int row_factor, int col_factor) -> const Eigen::Replicate< Derived, Eigen::Dynamic, Eigen::Dynamic >
 Replicate a Eigen Dense object; same call for compile-time & run-time dimensions. More...
 
template<typename Archive , typename Derived >
void boost::serialization::eigen_helper_save (Archive &a, const Derived &m, unsigned int)
 
template<typename Archive , typename Derived >
void boost::serialization::eigen_helper_load (Archive &a, Derived &m, unsigned int)
 
template<typename Archive , typename _Scalar , int _Rows, int _Cols, int _Options, int _MaxRows, int _MaxCols>
void boost::serialization::save (Archive &a, const Eigen::Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > &m, const unsigned int version)
 
template<typename Archive , typename _Scalar , int _Rows, int _Cols, int _Options, int _MaxRows, int _MaxCols>
void boost::serialization::save (Archive &a, const Eigen::Array< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > &m, const unsigned int version)
 
template<typename Archive , typename _Scalar , int _Rows, int _Cols, int _Options, int _MaxRows, int _MaxCols>
void boost::serialization::load (Archive &a, Eigen::Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > &m, const unsigned int version)
 
template<typename Archive , typename _Scalar , int _Rows, int _Cols, int _Options, int _MaxRows, int _MaxCols>
void boost::serialization::load (Archive &a, Eigen::Array< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > &m, const unsigned int version)
 
template<typename Archive , typename _Scalar , int _Rows, int _Cols, int _Options, int _MaxRows, int _MaxCols>
void boost::serialization::serialize (Archive &a, Eigen::Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > &m, const unsigned int version)
 
template<typename Archive , typename _Scalar , int _Rows, int _Cols, int _Options, int _MaxRows, int _MaxCols>
void boost::serialization::serialize (Archive &a, Eigen::Array< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > &m, const unsigned int version)
 

Detailed Description

Basic utilities for dealing with Eigen matrices and other types.

Definition in file eigenutil.h.