The template-parameter independent base of Averaged. More...
#include <Averaged.h>
Public Types | |
typedef boost::shared_ptr< const AveragedCommon > | Ptr |
typedef LiouvilleanAveragedCommon::DArray1D | Averages |
The 1D real array storing the calculated quantum averages (perhaps in real-imaginary pairs if a given average is complex). | |
Public Member Functions | |
void | process (Averages &averages) const |
This function is a hook between LiouvilleanAveragedCommonRanked::average and display. More... | |
std::ostream & | display (const Averages &averages, std::ostream &os, int precision) const |
Displays the system characteristics in a nicely tabulated format. More... | |
The template-parameter independent base of Averaged.
Definition at line 28 of file Averaged.h.
|
inline |
Displays the system characteristics in a nicely tabulated format.
Calculated (& processed) quantum averages (or higher moments or any other system characteristics that can be calculated on the basis of quantum averages) are displayed.
The display format greatly depends on what kind of system is in question (in particular, elementary system or Composite).
Definition at line 58 of file Averaged.h.
|
inline |
This function is a hook between LiouvilleanAveragedCommonRanked::average and display.
It allows for arbitrary manipulations with the already calculated set of averages before displaying them.
The most common usage is for calculation of higher moments of a quantum operator . In this case, since the Averages array returned by LiouvilleanAveragedCommonRanked::average must depend linearly on it may contain and but it cannot contain e.g. the variance because this depends quadratically on . The variance can be calculated by this function.
Definition at line 46 of file Averaged.h.