Kernel Quantum Probability Library
The KQP library aims at providing tools for working with quantums probabilities
Public Member Functions
kqp::EigenList< Scalar > Class Template Referenceabstract

#include <rank_selector.hpp>

Inheritance diagram for kqp::EigenList< Scalar >:
kqp::DecompositionList< Scalar >

Public Member Functions

virtual Scalar get (Index i) const =0
 
virtual void remove (Index i)=0
 
virtual Index size () const =0
 
virtual Index getRank () const =0
 
virtual bool isSelected (size_t i) const =0
 

Detailed Description

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

A list of eigenvalues that can be edited

Member Function Documentation

template<typename Scalar>
virtual Scalar kqp::EigenList< Scalar >::get ( Index  i) const
pure virtual

Select an eigenvalue

Implemented in kqp::EigenValues< Scalar >, and kqp::DecompositionList< Scalar >.

template<typename Scalar>
virtual Index kqp::EigenList< Scalar >::getRank ( ) const
pure virtual

The current number of selected

Implemented in kqp::EigenValues< Scalar >, and kqp::DecompositionList< Scalar >.

template<typename Scalar>
virtual bool kqp::EigenList< Scalar >::isSelected ( size_t  i) const
pure virtual

Check if an eigenvalue is currently selected or not

Implemented in kqp::DecompositionList< Scalar >.

template<typename Scalar>
virtual void kqp::EigenList< Scalar >::remove ( Index  i)
pure virtual

Remove this eigenvalue from the selection

Implemented in kqp::EigenValues< Scalar >, and kqp::DecompositionList< Scalar >.

template<typename Scalar>
virtual Index kqp::EigenList< Scalar >::size ( ) const
pure virtual

The original number of eigenvalues

Implemented in kqp::EigenValues< Scalar >, and kqp::DecompositionList< Scalar >.


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