| 
            Last change
 on this file since 3191 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"
 | 
|---|
| 12 | CC       User-called
 | 
|---|
| 13 | CC       Provides the user with information concerning the current status
 | 
|---|
| 14 | CC          of the current minimization. Namely, it returns:
 | 
|---|
| 15 | CC        FMIN: the best function value found so far
 | 
|---|
| 16 | CC        FEDM: the estimated vertical distance remaining to minimum
 | 
|---|
| 17 | CC        ERRDEF: the value of UP defining parameter uncertainties
 | 
|---|
| 18 | CC        NPARI: the number of currently variable parameters
 | 
|---|
| 19 | CC        NPARX: the highest (external) parameter number defined by user
 | 
|---|
| 20 | CC        ISTAT: a status integer indicating how good is the covariance
 | 
|---|
| 21 | CC           matrix:  0= not calculated at all
 | 
|---|
| 22 | CC                    1= approximation only, not accurate
 | 
|---|
| 23 | CC                    2= full matrix, but forced positive-definite
 | 
|---|
| 24 | CC                    3= full accurate covariance matrix
 | 
|---|
| 25 | CC
 | 
|---|
| 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.