33 alnsml =
log(r1mach(1))
38 xmin = xmin - xmin*((xmin+0.5)*xln - xmin - 0.2258 + alnsml)
40 IF (
abs(xmin-xold).LT.0.005) go
to 20
42 CALL
xermsg(
'SLATEC',
'GAMLIM',
'UNABLE TO FIND XMIN', 1, 2)
44 20 xmin = -xmin + 0.01
46 alnbig =
log(r1mach(2))
51 xmax = xmax - xmax*((xmax-0.5)*xln - xmax + 0.9189 - alnbig)
53 IF (
abs(xmax-xold).LT.0.005) go
to 40
55 CALL
xermsg(
'SLATEC',
'GAMLIM',
'UNABLE TO FIND XMAX', 2, 2)
58 xmin =
max(xmin, -xmax+1.)
OCTAVE_EXPORT octave_value_list or N dimensional array whose elements are all equal to the base of natural logarithms The constant ex $e satisfies the equation log(e)
may be zero for pure relative error test tem the relative tolerance must be greater than or equal to
charNDArray max(char d, const charNDArray &m)
subroutine xermsg(LIBRAR, SUBROU, MESSG, NERR, LEVEL)
OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state and the relative tolerance must also be a vector of the same length tem it must match the dimension of the state and the absolute tolerance must also be a vector of the same length The local error test applied at each integration step is xample roup abs(local error in x(i))<
subroutine gamlim(XMIN, XMAX)