Quantum++  v0.8.8.2
C++11 quantum computing library
qpp::internal::IOManipEigen Class Reference

#include <internal/classes/iomanip.h>

Inheritance diagram for qpp::internal::IOManipEigen:
Collaboration diagram for qpp::internal::IOManipEigen:

Public Member Functions

template<typename Derived >
 IOManipEigen (const Eigen::MatrixBase< Derived > &A, double chop=qpp::chop)
 
 IOManipEigen (const cplx z, double chop=qpp::chop)
 
- Public Member Functions inherited from qpp::IDisplay
 IDisplay ()=default
 Default constructor. More...
 
 IDisplay (const IDisplay &)=default
 Default copy constructor. More...
 
 IDisplay (IDisplay &&)=default
 Default move constructor. More...
 
IDisplayoperator= (const IDisplay &)=default
 Default copy assignment operator. More...
 
IDisplayoperator= (IDisplay &&)=default
 Default move assignment operator. More...
 
virtual ~IDisplay ()=default
 Default virtual destructor. More...
 

Private Member Functions

std::ostream & display (std::ostream &os) const override
 Must be overridden by all derived classes. More...
 
- Private Member Functions inherited from qpp::internal::_details::_Display_Impl
template<typename T >
std::ostream & _display_impl (const T &_A, std::ostream &_os, double _chop=qpp::chop) const
 

Private Attributes

cmat _A
 
double _chop
 

Constructor & Destructor Documentation

template<typename Derived >
qpp::internal::IOManipEigen::IOManipEigen ( const Eigen::MatrixBase< Derived > &  A,
double  chop = qpp::chop 
)
inlineexplicit
qpp::internal::IOManipEigen::IOManipEigen ( const cplx  z,
double  chop = qpp::chop 
)
inlineexplicit

Member Function Documentation

std::ostream& qpp::internal::IOManipEigen::display ( std::ostream &  os) const
inlineoverrideprivatevirtual

Must be overridden by all derived classes.

The actual stream extraction processing is performed by the overriden member function in the derived class. This function is automatically invoked by friend inline std::ostream& operator<<(std::ostream& os, const IDisplay& rhs).

Implements qpp::IDisplay.

Member Data Documentation

cmat qpp::internal::IOManipEigen::_A
private
double qpp::internal::IOManipEigen::_chop
private

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