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

Public Types

typedef AltMatrix::Scalar Scalar
 
typedef Eigen::NumTraits
< Scalar >::Real 
Real
 
typedef const AltBlock
< AltBlock< AltMatrix > > & 
Nested
 
- Public Types inherited from kqp::AltMatrixBase< AltBlock< AltMatrix > >
typedef
Eigen::internal::traits
< AltBlock< AltMatrix >
>::Scalar 
Scalar
 

Public Member Functions

 AltBlock (AltMatrix &alt_matrix, Index row, Index col, Index height, Index width)
 
bool isT1 () const
 
Real squaredNorm () const
 
Index rows () const
 
Index cols () const
 
template<typename Scalar , typename Derived , typename OtherDerived >
void assign (const Eigen::CwiseNullaryOp< Eigen::internal::scalar_constant_op< Scalar >, Derived > &op1, const Eigen::CwiseNullaryOp< Eigen::internal::scalar_constant_op< Scalar >, Derived > &op2, Index, Index)
 
template<typename Op , typename Derived , typename OtherDerived >
void assign (const Eigen::CwiseNullaryOp< Op, Derived > &, const OtherDerived &, Index, Index)
 
template<typename Scalar , typename OtherDerived >
void assign (const Eigen::Identity< Scalar > &, const OtherDerived &, Index, Index)
 
template<typename Derived , int Rows, int Cols, typename OtherDerived >
void assign (Eigen::Matrix< Derived, Rows, Cols > &mTo, const Eigen::MatrixBase< OtherDerived > &mFrom, Index fromRow, Index fromCol)
 
template<typename Scalar , int Rows, int Cols, typename Derived >
void assign (Eigen::Matrix< Derived, Rows, Cols > &, const Eigen::Identity< Scalar > &, Index, Index)
 
template<typename Derived >
AltBlock< AltMatrix > & assignTo (const AltBlock< Derived > &from)
 
auto t1 () -> decltype(alt_matrix.m_t1.block(0, 0, 0, 0))
 
auto t2 () -> decltype(alt_matrix.m_t2.block(0, 0, 0, 0))
 
auto t1 () const -> decltype(alt_matrix.m_t1.block(0, 0, 0, 0))
 
auto t2 () const -> decltype(alt_matrix.m_t2.block(0, 0, 0, 0))
 
- Public Member Functions inherited from kqp::AltMatrixBase< AltBlock< AltMatrix > >
AltCwiseUnaryOp
< Eigen::internal::scalar_sqrt_op
< Scalar >, const AltBlock
< AltMatrix > > 
cwiseSqrt () const
 
AltCwiseUnaryOp
< Eigen::internal::scalar_abs_op
< Scalar >, const AltBlock
< AltMatrix > > 
cwiseAbs () const
 
AltCwiseUnaryOp
< Eigen::internal::scalar_abs2_op
< Scalar >, const AltBlock
< AltMatrix > > 
cwiseAbs2 () const
 
AltCwiseUnaryOp
< Eigen::internal::scalar_inverse_op
< Scalar >, const AltBlock
< AltMatrix > > 
cwiseInverse () const
 
AltAsDiagonal< const AltBlock
< AltMatrix > > 
asDiagonal () const
 
AltArrayWrapper< const
AltBlock< AltMatrix > > 
array () const
 

Friends

template<typename T >
class AltBlock
 

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