Kernel Quantum Probability Library
The KQP library aims at providing tools for working with quantums probabilities
Public Types | Public Member Functions | Friends
kqp::AltMatrixOp< Op, Lhs, Rhs, Side > Class Template Reference
Inheritance diagram for kqp::AltMatrixOp< Op, Lhs, Rhs, Side >:
kqp::AltMatrixBase< AltMatrixOp< Op, Lhs, Rhs, Side > >

Public Types

typedef kqp::scalar< Lhs >::type Scalar
 
typedef Eigen::NumTraits
< Scalar >::Real 
Real
 
- Public Types inherited from kqp::AltMatrixBase< AltMatrixOp< Op, Lhs, Rhs, Side > >
typedef
Eigen::internal::traits
< AltMatrixOp< Op, Lhs, Rhs,
Side > >::Scalar 
Scalar
 

Public Member Functions

 AltMatrixOp (const Lhs &lhs, const Rhs &rhs)
 
Index rows () const
 
Index cols () const
 
Real squaredNorm () const
 
Scalar trace () const
 
bool isT1 () const
 
const ExprIfT1 & t1 () const
 
const ExprIfT2 & t2 () const
 
template<typename Dest >
void evalTo (Dest &dest) const
 
template<typename Dest >
void lazyAssign (Dest &dest) const
 
void printExpression (std::ostream &out) const
 
- Public Member Functions inherited from kqp::AltMatrixBase< AltMatrixOp< Op, Lhs, Rhs, Side > >
AltCwiseUnaryOp
< Eigen::internal::scalar_sqrt_op
< Scalar >, const AltMatrixOp
< Op, Lhs, Rhs, Side > > 
cwiseSqrt () const
 
AltCwiseUnaryOp
< Eigen::internal::scalar_abs_op
< Scalar >, const AltMatrixOp
< Op, Lhs, Rhs, Side > > 
cwiseAbs () const
 
AltCwiseUnaryOp
< Eigen::internal::scalar_abs2_op
< Scalar >, const AltMatrixOp
< Op, Lhs, Rhs, Side > > 
cwiseAbs2 () const
 
AltCwiseUnaryOp
< Eigen::internal::scalar_inverse_op
< Scalar >, const AltMatrixOp
< Op, Lhs, Rhs, Side > > 
cwiseInverse () const
 
AltAsDiagonal< const
AltMatrixOp< Op, Lhs, Rhs,
Side > > 
asDiagonal () const
 
AltArrayWrapper< const
AltMatrixOp< Op, Lhs, Rhs,
Side > > 
array () const
 

Friends

void initAltMatrixOp (AltMatrixOp< Op, Lhs, Rhs, Eigen::OnTheLeft > &op, const Lhs &lhs, const Rhs &rhs)
 
void initAltMatrixOp (AltMatrixOp< Op, Lhs, Rhs, Eigen::OnTheRight > &op, const Lhs &lhs, const Rhs &rhs)
 

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