Quantum++  v1.0-rc4
A modern 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::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

◆ IOManipEigen() [1/2]

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

◆ IOManipEigen() [2/2]

qpp::internal::IOManipEigen::IOManipEigen ( const cplx  z,
double  chop = qpp::chop 
)
inlineexplicit

Member Function Documentation

◆ display()

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

◆ A_

cmat qpp::internal::IOManipEigen::A_
private

◆ chop_

double qpp::internal::IOManipEigen::chop_
private

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