next up previous contents index
Next: Interpretation of the Up: A complete example Previous: A complete example

A data-driven fit

The example job given here is set up for batch processing. The OPEN statements assign the input and output files, and are somewhat computer-dependent (those given here are for a Vax). On many systems, it may be more convenient (or necessary) to perform the file assignments in JCL rather than from the Fortran, but whatever the user decides, the files must be opened and the unit numbers communicated to Minuit before the call to MINUIT.

The same job could be run interactively, in which case the input and output files would be assigned to the terminal, and the ``user's data'' listed below, instead of coming from a file, would be typed in directly to the terminal.

The User's main program


The User's FCN


The user's data to drive Minuit.


6cmThe same example in Fortran-callable mode.

The program below takes the place of the data in the above example.

The User's main program and subroutine


The FCN is exactly the same in Fortran-callable mode as in data-driven mode.


Janne Saarela
Mon Apr 3 15:36:46 METDST 1995