Tomographer  v1.0a
Tomographer C++ Framework Documentation
Tomographer::MatrQBaseDimStore< Derived, false > Struct Template Reference

Specialization of MatrQBaseDimStore<Derived,has_fixed_dim> for dynamic sized types. More...

#include <tomographer/qit/matrq.h>

+ Inheritance diagram for Tomographer::MatrQBaseDimStore< Derived, false >:
+ Collaboration diagram for Tomographer::MatrQBaseDimStore< Derived, false >:

Public Member Functions

std::size_t dim () const
 The dimension of the quantum system. See MatrQBase<Derived>::FixedDim.
 
std::size_t dim2 () const
 The squared dimension of the quantum system. See MatrQBase<Derived>::FixedDim2.
 
std::size_t ndof () const
 The squared dimension of the quantum system, minus one. See MatrQBase<Derived>::FixedNdof.
 
 MatrQBaseDimStore (std::size_t dim_)
 Constructor, initialized to the given dimension. More...
 
MatrQBase< Derived >::MatrixType::ConstantReturnType initMatrixType () const
 initializer for MatrixType. See MatrQBaseDimStore<Derived,has_fixed_dim>::initMatrixType()
 
MatrQBase< Derived >::VectorParamType::ConstantReturnType initVectorParamType () const
 initializer for VectorParamType. See MatrQBaseDimStore<Derived,has_fixed_dim>::initVectorParamType()
 
MatrQBase< Derived >::VectorParamNdofType::ConstantReturnType initVectorParamNdofType () const
 initializer for VectorParamNdofType. See MatrQBaseDimStore<Derived,has_fixed_dim>::initVectorParamNdofType()
 
MatrQBase< Derived >::VectorParamListType::ConstantReturnType initVectorParamListType (std::size_t len) const
 initializer for VectorParamListType. See MatrQBaseDimStore<Derived,has_fixed_dim>::initVectorParamListType()
 
MatrQBase< Derived >::FreqListType::ConstantReturnType initFreqListType (std::size_t len) const
 initializer for FreqListType. See MatrQBaseDimStore<Derived,has_fixed_dim>::initFreqListType()
 

Additional Inherited Members

- Public Types inherited from Tomographer::MatrQBase< Derived >
enum  
 Values that are either fixed at compile-time, or set to Eigen::Dynamic. More...
 
typedef tomo_internal::matrq_traits< Derived >::RealScalar RealScalar
 Real scalar type (usually double)
 
typedef tomo_internal::matrq_traits< Derived >::ComplexScalar ComplexScalar
 Complex scalar type (usually std::complex<double>)
 
typedef tomo_internal::matrq_traits< Derived >::IntFreqType IntFreqType
 Integer type, used to count measurement frequencies. (int is fine)
 
typedef Eigen::Matrix< std::complex< RealScalar >, FixedDim, FixedDimMatrixType
 Complex dim x dim Matrix.
 
typedef Eigen::Matrix< RealScalar, FixedDim2, 1 > VectorParamType
 Real dim*dim Vector.
 
typedef Eigen::Matrix< RealScalar, FixedNdof, 1 > VectorParamNdofType
 Real dim*dim-1 Vector.
 
typedef Eigen::Matrix< RealScalar, Eigen::Dynamic, FixedDim2, Eigen::RowMajor, FixedMaxParamList, FixedDim2VectorParamListType
 dynamic Matrix with rows = dim*dim Vectors (row-major) [maximum FixedMaxParamList rows, or Dynamic]
 
typedef Eigen::Array< IntFreqType, Eigen::Dynamic, 1, 0, FixedMaxParamList, 1 > FreqListType
 dynamic Array of integers [maximum FixedMaxParamList entries or Dynamic]
 

Detailed Description

template<typename Derived>
struct Tomographer::MatrQBaseDimStore< Derived, false >

Specialization of MatrQBaseDimStore<Derived,has_fixed_dim> for dynamic sized types.

Mostly, we need to give good initializers to Eigen initializers for our types.

Definition at line 261 of file matrq.h.

Constructor & Destructor Documentation

template<typename Derived >
Tomographer::MatrQBaseDimStore< Derived, false >::MatrQBaseDimStore ( std::size_t  dim_)
inline

Constructor, initialized to the given dimension.

The dimension is fixed here and cannot be changed later.

Definition at line 281 of file matrq.h.


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