Tomographer  v5.2
Tomographer C++ Framework Documentation
Tomographer::Tools::EigenStdVector< EigenType > Struct Template Reference

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

#include <tomographer/tools/eigenutil.h>

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

Public Types

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

Detailed Description

template<typename EigenType>
struct Tomographer::Tools::EigenStdVector< 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 71 of file eigenutil.h.


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