C++QEDCore  v2 Milestone 10
a framework for simulating open quantum dynamics – core
formdouble::Zero Class Reference

A dummy FormDouble used mainly for setting/getting the overallPrecision. More...

#include <FormDouble.h>

+ Inheritance diagram for formdouble::Zero:
+ Collaboration diagram for formdouble::Zero:

Public Member Functions

 Zero (int precision)
 Implicit conversion from int possible.
 
 operator int () const
 returns the precision in the style of implicit conversion
 
- Public Member Functions inherited from FormDouble
template<typename T >
const formdouble::Bound< T > operator() (const T &) const
 Binds a value of a double-based type (e.g. double, dcomp, std::vector<double>, etc.) to the present instant.
 
 FormDouble (int precision, int width)
 Generic constructor.
 
 FormDouble (int precision)
 Constructor calculating an appropriate width from the maximal possible width of a number of the given precision in the representation of the given machine.
 
int getPrecision () const
 
int getWidth () const
 

Additional Inherited Members

- Static Public Attributes inherited from FormDouble
static const int defaultPrecision
 Ultimate default precision for streaming doubles for the whole framework.
 
static int overallPrecision
 Generic overall precision accessible throughout the framework. More...
 

Detailed Description

A dummy FormDouble used mainly for setting/getting the overallPrecision.

See also
trajectory::ParsRun::precision. Implicitely corvertible to/from an int

Definition at line 110 of file FormDouble.h.


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