-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmninex.F
29 lines (29 loc) · 804 Bytes
/
mninex.F
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
*
* $Id: mninex.F,v 1.1.1.1 2000/06/08 11:19:20 andras Exp $
*
* $Log: mninex.F,v $
* Revision 1.1.1.1 2000/06/08 11:19:20 andras
* import of MINUIT from CERNlib 2000
*
* Revision 1.1.1.1 1996/03/07 14:31:30 mclareni
* Minuit
*
*
#include "minuit/pilot.h"
SUBROUTINE MNINEX(PINT)
#include "minuit/d506dp.inc"
CC Transforms from internal coordinates (PINT) to external
CC parameters (U). The minimizing routines which work in
CC internal coordinates call this routine before calling FCN.
#include "minuit/d506cm.inc"
DIMENSION PINT(*)
DO 100 J= 1, NPAR
I = NEXOFI(J)
IF (NVARL(I) .EQ. 1) THEN
U(I) = PINT(J)
ELSE
U(I) = ALIM(I) + 0.5*(SIN(PINT(J)) +1.0) * (BLIM(I)-ALIM(I))
ENDIF
100 CONTINUE
RETURN
END