BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
numericutils.h File Reference

Defines class CLASS? More...

Include dependency graph for numericutils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ModelView
 materialitems.h Collection of materials to populate MaterialModel.
 
 ModelView::Utils
 Collection of various widget-related utils.
 

Functions

MVVM_MODEL_EXPORT bool ModelView::Utils::AreAlmostEqual (double a, double b, double tolerance_factor=1.0)
 Returns true if two doubles agree within epsilon*tolerance. More...
 
MVVM_MODEL_EXPORT double ModelView::Utils::RandDouble (double low, double high)
 Produces random FLOAT values uniformly distributed on the interval [low, high). More...
 
MVVM_MODEL_EXPORT int ModelView::Utils::RandInt (int low, int high)
 Produces random integer values uniformly distributed on the closed interval [low, high]. More...
 

Detailed Description

Defines class CLASS?

Homepage:\n http://www.bornagainproject.org
License:\n GNU General Public License v3 or higher (see COPYING)
Authors
Gennady Pospelov et al, Scientific Computing Group at MLZ (see CITATION, AUTHORS)

Definition in file numericutils.h.