Kernel Quantum Probability Library
The KQP library aims at providing tools for working with quantums probabilities
Public Types | Public Member Functions | Data Fields
kqp::storage< Eigen::DiagonalWrapper< Derived > > Struct Template Reference

Storage for a diagonal wrapper. More...

#include <alt_matrix.hpp>

Public Types

typedef Eigen::DiagonalWrapper
< const Derived > 
ConstReturnType
 
typedef Eigen::DiagonalWrapper
< const Derived > 
ReturnType
 
typedef
Eigen::internal::traits
< Derived >::Scalar 
Scalar
 
typedef Eigen::NumTraits
< Scalar >::Real 
Real
 

Public Member Functions

 storage (const Eigen::DiagonalWrapper< Derived > &value)
 
ConstReturnType get () const
 
ReturnType get ()
 
void swap (storage &other)
 
void swap (ReturnType &value)
 
Index rows () const
 
Index cols () const
 
void resize (Index rows, Index cols)
 
void conservativeResize (Index rows, Index cols)
 
Eigen::internal::traits
< Derived >::Scalar 
operator() (Index i, Index j) const
 
template<typename CwiseUnaryOp >
void unaryExprInPlace (const CwiseUnaryOp &op)
 
Real squaredNorm () const
 
Scalar sum () const
 
const std::type_info & getTypeId () const
 
DiagonalBlockWrapper< Derived > block (Index startRow, Index startCol, Index blockRows, Index blockCols) const
 

Data Fields

Derived m_value
 

Detailed Description

template<typename Derived>
struct kqp::storage< Eigen::DiagonalWrapper< Derived > >

Storage for a diagonal wrapper.


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