source: Sophya/trunk/SophyaExt/CodeMinuit/code/mnstat.F

Last change on this file was 2403, checked in by cmv, 22 years ago

Creation du module de code source de MINUIT (CERNLIB) extrait par CMV

cmv 11/06/2003

File size: 1.4 KB
Line 
1*
2* $Id: mnstat.F,v 1.1.1.1 2003-06-11 14:18:29 cmv Exp $
3*
4* $Log: not supported by cvs2svn $
5* Revision 1.1.1.1 1996/03/07 14:31:31 mclareni
6* Minuit
7*
8*
9#include "minuit/pilot.h"
10 SUBROUTINE MNSTAT(FMIN,FEDM,ERRDEF,NPARI,NPARX,ISTAT)
11#include "minuit/d506dp.inc"
12CC User-called
13CC Provides the user with information concerning the current status
14CC of the current minimization. Namely, it returns:
15CC FMIN: the best function value found so far
16CC FEDM: the estimated vertical distance remaining to minimum
17CC ERRDEF: the value of UP defining parameter uncertainties
18CC NPARI: the number of currently variable parameters
19CC NPARX: the highest (external) parameter number defined by user
20CC ISTAT: a status integer indicating how good is the covariance
21CC matrix: 0= not calculated at all
22CC 1= approximation only, not accurate
23CC 2= full matrix, but forced positive-definite
24CC 3= full accurate covariance matrix
25CC
26#include "minuit/d506cm.inc"
27 FMIN = AMIN
28 FEDM = EDM
29 ERRDEF = UP
30 NPARI = NPAR
31 NPARX = NU
32 ISTAT = ISW(2)
33 IF (EDM .EQ. BIGEDM) THEN
34 FEDM = UP
35 ENDIF
36 IF (AMIN .EQ. UNDEFI) THEN
37 FMIN = 0.0
38 FEDM = UP
39 ISTAT= 0
40 ENDIF
41 RETURN
42 END
Note: See TracBrowser for help on using the repository browser.