Kernel Quantum Probability Library
The KQP library aims at providing tools for working with quantums probabilities
Data Structures | Public Types | Public Member Functions
Eigen::Identity< Scalar > Class Template Reference

#include <eigen_identity.hpp>

Data Structures

class  RowWise

Public Types

typedef MatrixXd::Index Index
typedef Eigen::CwiseNullaryOp
< Eigen::internal::scalar_constant_op
< Scalar >, Eigen::Matrix
< Scalar, Dynamic, 1 > > 

Public Member Functions

RowWise rowwise () const
 Identity (Index size)
void swap (Identity &other)
Index rows () const
Index cols () const
Scalar trace () const
Scalar sum () const
Scalar squaredNorm () const
void resize (Index rows, Index cols)
void conservativeResize (Index rows, Index cols)
Scalar operator() (Index i, Index j) const
 Identity (Index rows, Index cols)
< VectorType > 
block (Index startCol, Index startRow, Index blockRows, Index blockCols) const
template<typename CwiseUnaryOp >
Identity unaryExpr (const CwiseUnaryOp &)
auto getVectorIdentity () const -> decltype(Eigen::Matrix< Scalar, Dynamic, 1 >::Ones(0).asDiagonal())
auto getIdentityMatrix () const -> decltype(Eigen::Matrix< Scalar, Dynamic, Dynamic >::Identity(0, 0))
template<class Archive >
void serialize (Archive &ar, const unsigned int)

Detailed Description

template<typename Scalar>
class Eigen::Identity< Scalar >

Square identity matrix

Constructor & Destructor Documentation

template<typename Scalar>
Eigen::Identity< Scalar >::Identity ( Index  rows,
Index  cols 

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