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

#include <evd_update.inc.hpp>

Inheritance diagram for kqp::EigenValues< Scalar >:
kqp::EigenList< Eigen::NumTraits< Scalar >::Real >

Public Types

typedef Eigen::NumTraits
< Scalar >::Real 
Real
 

Public Member Functions

 EigenValues (std::vector< IndexedValue< Scalar > * > &_values)
 
Real get (Index index) const
 
void remove (Index index)
 
Index size () const
 
bool isSelected (std::size_t i) const
 
Index getRank () const
 
- Public Member Functions inherited from kqp::EigenList< Eigen::NumTraits< Scalar >::Real >
virtual bool isSelected (size_t i) const =0
 

Data Fields

std::vector< IndexedValue
< Scalar > * > & 
values
 
Index minRemoved
 
Index rank
 

Detailed Description

template<typename Scalar>
class kqp::EigenValues< Scalar >

A list of eigenvalues

Author
B. Piwowarski benja.nosp@m.min@.nosp@m.bpiwo.nosp@m.war..nosp@m.net

Member Function Documentation

template<typename Scalar>
Real kqp::EigenValues< Scalar >::get ( Index  i) const
inlinevirtual

Select an eigenvalue

Implements kqp::EigenList< Eigen::NumTraits< Scalar >::Real >.

template<typename Scalar>
Index kqp::EigenValues< Scalar >::getRank ( ) const
inlinevirtual

The current number of selected

Implements kqp::EigenList< Eigen::NumTraits< Scalar >::Real >.

template<typename Scalar>
void kqp::EigenValues< Scalar >::remove ( Index  i)
inlinevirtual

Remove this eigenvalue from the selection

Implements kqp::EigenList< Eigen::NumTraits< Scalar >::Real >.

template<typename Scalar>
Index kqp::EigenValues< Scalar >::size ( ) const
inlinevirtual

The original number of eigenvalues

Implements kqp::EigenList< Eigen::NumTraits< Scalar >::Real >.


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