gibuu is hosted by Hepforge, IPPP Durham
GiBUU

TABLE OF CONTENTS


/cernlib [ Modules ]

[ Top ] [ Modules ]

NAME

module cernlib

PURPOSE

This module is a wrapper for various CERNLIB routines:


cernlib/DZEROX [ Functions ]

[ Top ] [ cernlib ] [ Functions ]

NAME

double precision function DZEROX(A0,B0,EPS,MAXF,F,MODE)

PURPOSE

Finding a Zero of a Function

INPUTS

  • double precision :: A0, B0 -- specify the end points of the search interval
  • double precision :: EPS -- accuracy parameter
  • integer :: MAXF -- maximum permitted number of references to the function F within the iteration loop
  • double precision, external :: F -- user-supplied FUNCTION
  • integer :: MODE -- Mode=1 or Mode=2 defines the algorithm for finding x_0

OUTPUT

  • function value represents x_0, the found zero

NOTES

cf. original CERNLIB documentation