Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-15 09:11:26

0001 // @(#)root/minuit2:$Id$
0002 // Authors: M. Winkler, F. James, L. Moneta, A. Zsenei, E.G.P. Bos   2003-2017
0003 
0004 /**********************************************************************
0005  *                                                                    *
0006  * Copyright (c) 2005 LCG ROOT Math team,  CERN/PH-SFT                *
0007  *                                                                    *
0008  **********************************************************************/
0009 
0010 #ifndef ROOT_Minuit2_SinParameterTransformation
0011 #define ROOT_Minuit2_SinParameterTransformation
0012 
0013 namespace ROOT {
0014 
0015 namespace Minuit2 {
0016 
0017 class MnMachinePrecision;
0018 
0019 /**
0020    class for the transformation for double-limited parameter
0021    Using a sin function one goes from a double-limited parameter range to
0022    an unlimited one
0023  */
0024 class SinParameterTransformation {
0025 public:
0026    long double Int2ext(long double Value, long double Upper, long double Lower) const;
0027    long double Ext2int(long double Value, long double Upper, long double Lower, const MnMachinePrecision &) const;
0028    long double DInt2Ext(long double Value, long double Upper, long double Lower) const;
0029    long double DExt2Int(long double Value, long double Upper, long double Lower) const;
0030 };
0031 
0032 } // namespace Minuit2
0033 
0034 } // namespace ROOT
0035 
0036 #endif // ROOT_Minuit2_SinParameterTransformation