Tomographer  v5.3
Tomographer C++ Framework Documentation
Tomographer::MAT::VarValueDecoder< Eigen::Matrix< Scalar, Rows, Cols, Options, MaxRows, MaxCols > > Class Template Reference

Decoder for Eigen::Matrix types. More...

#include <tomographer/tools/ezmatio.h>

Public Types

typedef Eigen::Matrix< Scalar, Rows, Cols, Options, MaxRows, MaxCols > MatrixType
 
typedef Eigen::NumTraits< Scalar >::Real RealScalar
 
typedef MatrixType RetType
 

Static Public Member Functions

static void checkShape (const Var &var)
 
static RetType decodeValue (const Var &var)
 

Detailed Description

template<typename Scalar, int Rows, int Cols, int Options, int MaxRows, int MaxCols>
class Tomographer::MAT::VarValueDecoder< Eigen::Matrix< Scalar, Rows, Cols, Options, MaxRows, MaxCols > >

Decoder for Eigen::Matrix types.

Note
This decoder is capable of decoding multidimensional tensors also with number of dimensions >2. In that case, the last dimension is the column index, and the first dimensions up to the before-to-last-one are collapsed in column-major ordering into the row index of the Eigen type.

Definition at line 1865 of file ezmatio.h.


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