Hello,
you need to do:
MnMachinePrecision::SetPrecision (0.01) ;
but why you need to do that ? This is needed only if you know that the
precision calculation of your FCN is larger than the double numerical
precision
(~ 10^-16).
You probably want to change the tolerance which is passed as argument
to the VariableMetricMinimizer::Minimize method.
Best Regards
Lorenzo
On Jun 15, 2009, at 11:37 PM, Patrick Dupre wrote:
> Hello,
>
> It looks like that I am idiot !! I am unable to get the precision
> or set the precision of Minuit2 !
> Example (as the the manual):
> MnMachinePrecision::setPrecision (0.01) ;
> gives:
> setPrecision is not a member of ROOT::Minuit2::MnMachinePrecision
>
> I am using:
> VariableMetricMinimizer fMinimizer ;
>
> thank for your help.
>
> --
> ---
> =
> =
> =
> =
> ======================================================================
> Patrick DUPRÉ | |
> Department of Chemistry | | Phone: (44)-
> (0)-1904-434384
> The University of York | | Fax: (44)-
> (0)-1904-432516
> Heslington | |
> York YO10 5DD United Kingdom | | email: pd520_at_york.ac.uk
> =
> =
> =
> =
> ======================================================================
Received on Tue Jun 16 2009 - 09:28:46 CEST
This archive was generated by hypermail 2.2.0 : Tue Jun 16 2009 - 11:50:03 CEST