Tomographer  v1.0a
Tomographer C++ Framework Documentation
Tomographer::Tools::eigen_std_vector< EigenType > Struct Template Reference

Use this if you need an std::vector of any Eigen type. More...

#include <tomographer/qit/util.h>

+ Inheritance diagram for Tomographer::Tools::eigen_std_vector< EigenType >:

Public Types

typedef std::vector< EigenType, Eigen::aligned_allocator< EigenType > > type
 

Detailed Description

template<typename EigenType>
struct Tomographer::Tools::eigen_std_vector< EigenType >

Use this if you need an std::vector of any Eigen type.

See this discussion in Eigen's documentation about using Eigen with C++ STL containers.

This struct defines a helper type, which is the right type to use if you want an std::vector of any Eigen type. Example:

v[0].resize(...);
// ... use as if std::vector<Matrix4d>

Definition at line 136 of file util.h.


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