Kernel Quantum Probability Library
The KQP library aims at providing tools for working with quantums probabilities
Public Member Functions | Protected Attributes
kqp::AltAsDiagonal< XprType > Class Template Reference
Inheritance diagram for kqp::AltAsDiagonal< XprType >:
kqp::AltMatrixBase< AltAsDiagonal< XprType > >

Public Member Functions

 AltAsDiagonal (const XprType &xpr)
 
EIGEN_STRONG_INLINE Index rows () const
 
EIGEN_STRONG_INLINE Index cols () const
 
bool isT1 () const
 
auto t1 () const -> decltype(m_xpr.derived().t1().asDiagonal())
 
auto t2 () const -> decltype(m_xpr.derived().t2().asDiagonal())
 
template<typename Dest >
void evalTo (Dest &dst) const
 
- Public Member Functions inherited from kqp::AltMatrixBase< AltAsDiagonal< XprType > >
AltCwiseUnaryOp
< Eigen::internal::scalar_sqrt_op
< Scalar >, const
AltAsDiagonal< XprType > > 
cwiseSqrt () const
 
AltCwiseUnaryOp
< Eigen::internal::scalar_abs_op
< Scalar >, const
AltAsDiagonal< XprType > > 
cwiseAbs () const
 
AltCwiseUnaryOp
< Eigen::internal::scalar_abs2_op
< Scalar >, const
AltAsDiagonal< XprType > > 
cwiseAbs2 () const
 
AltCwiseUnaryOp
< Eigen::internal::scalar_inverse_op
< Scalar >, const
AltAsDiagonal< XprType > > 
cwiseInverse () const
 
AltAsDiagonal< const
AltAsDiagonal< XprType > > 
asDiagonal () const
 
AltArrayWrapper< const
AltAsDiagonal< XprType > > 
array () const
 

Protected Attributes

const XprType::Nested m_xpr
 

Additional Inherited Members

- Public Types inherited from kqp::AltMatrixBase< AltAsDiagonal< XprType > >
typedef
Eigen::internal::traits
< AltAsDiagonal< XprType >
>::Scalar 
Scalar
 

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