process.2.args(a1,a2)
process.3.args(a1,a2,a3)
process.4.args(a1,a2,a3,a4)
strictify(val,status)
&result
gsl_sf_
gsl_sf_sin()
, gsl_sf_cos()
, gsl_sf_gamma()
,
gsl_sf_ choose()
, beta()
Functions process.2.args()
et seq are called, if possible, to
massage the arguments into a form suitable for passing to .C()
.
For example, in function hyperg_0F1(c,x)
, one wants
hyperg_0F1(0.1, c(0.3,0.4))
and hyperg_0F1(c(0.1,0.2),
0.3)
and hyperg_0F1(c(0.1,0.2),c(0.3,0.4)
to behave sensibly.
The process functions do this by returning a list whose elements are
vectors of the same length.
Function strictify()
uses the status
value returned by
the error
a NaN
. This function is
called if argument strict
takes its default value of
TRUE
. Setting it to FALSE
sometimes returns a numerical
value as per the GSL reference manual.
If argument give
takes its default value of FALSE
, a
numerical value only is returned. If TRUE
, error information
and the status (see preceding paragraph) is also returned.