ROOT  6.06/09
Reference Guide
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 ()
 
 MnMachinePrecision (const MnMachinePrecision &prec)
 
MnMachinePrecisionoperator= (const MnMachinePrecision &prec)
 
double Eps () const
 eps returns the smallest possible number so that 1.+eps > 1. More...
 
double Eps2 () const
 eps2 returns 2*sqrt(eps) More...
 
void SetPrecision (double prec)
 override Minuit's own determination More...
 

Private Attributes

double fEpsMac
 
double fEpsMa2
 

#include <Minuit2/MnMachinePrecision.h>

Constructor & Destructor Documentation

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

Definition at line 18 of file MnMachinePrecision.cxx.

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

Definition at line 33 of file MnMachinePrecision.h.

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

Definition at line 35 of file MnMachinePrecision.h.

Member Function Documentation

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

Definition at line 37 of file MnMachinePrecision.h.

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

override Minuit's own determination

Definition at line 50 of file MnMachinePrecision.h.

Referenced by ROOT::Minuit2::MnUserTransformation::SetPrecision().

Member Data Documentation

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

Definition at line 58 of file MnMachinePrecision.h.

Referenced by Eps2(), MnMachinePrecision(), operator=(), and SetPrecision().

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

Definition at line 57 of file MnMachinePrecision.h.

Referenced by Eps(), MnMachinePrecision(), operator=(), and SetPrecision().


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