Logo ROOT   6.13/01
Reference Guide
List of all members | Public Member Functions | Private Attributes | List of all members
ROOT::Minuit2::MnMachinePrecision Class Reference

determines the relative floating point arithmetic precision.

The SetPrecision() method can be used to override Minuit's own determination, when the user knows that the {FCN} function Value is not calculated to the nominal machine accuracy.

Definition at line 27 of file MnMachinePrecision.h.

Public Member Functions

 MnMachinePrecision ()
 
 MnMachinePrecision (const MnMachinePrecision &prec)
 
 ~MnMachinePrecision ()
 
double Eps () const
 eps returns the smallest possible number so that 1.+eps > 1. More...
 
double Eps2 () const
 eps2 returns 2*sqrt(eps) More...
 
MnMachinePrecisionoperator= (const MnMachinePrecision &prec)
 
void SetPrecision (double prec)
 override Minuit's own determination More...
 

Private Attributes

double fEpsMa2
 
double fEpsMac
 

#include <Minuit2/MnMachinePrecision.h>

Constructor & Destructor Documentation

◆ MnMachinePrecision() [1/2]

ROOT::Minuit2::MnMachinePrecision::MnMachinePrecision ( )

Definition at line 18 of file MnMachinePrecision.cxx.

◆ ~MnMachinePrecision()

ROOT::Minuit2::MnMachinePrecision::~MnMachinePrecision ( )
inline

Definition at line 33 of file MnMachinePrecision.h.

◆ MnMachinePrecision() [2/2]

ROOT::Minuit2::MnMachinePrecision::MnMachinePrecision ( const MnMachinePrecision prec)
inline

Definition at line 35 of file MnMachinePrecision.h.

Member Function Documentation

◆ Eps()

double ROOT::Minuit2::MnMachinePrecision::Eps ( ) const
inline

eps returns the smallest possible number so that 1.+eps > 1.

Definition at line 44 of file MnMachinePrecision.h.

◆ Eps2()

double ROOT::Minuit2::MnMachinePrecision::Eps2 ( ) const
inline

eps2 returns 2*sqrt(eps)

Definition at line 47 of file MnMachinePrecision.h.

◆ operator=()

MnMachinePrecision& ROOT::Minuit2::MnMachinePrecision::operator= ( const MnMachinePrecision prec)
inline

Definition at line 37 of file MnMachinePrecision.h.

◆ SetPrecision()

void ROOT::Minuit2::MnMachinePrecision::SetPrecision ( double  prec)
inline

override Minuit's own determination

Definition at line 50 of file MnMachinePrecision.h.

Member Data Documentation

◆ fEpsMa2

double ROOT::Minuit2::MnMachinePrecision::fEpsMa2
private

Definition at line 58 of file MnMachinePrecision.h.

◆ fEpsMac

double ROOT::Minuit2::MnMachinePrecision::fEpsMac
private

Definition at line 57 of file MnMachinePrecision.h.


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