Terry Gaetz writes:
>
> I am having trouble understanding the documentation for
> PDL::GSLSF::GAMMA.... For example, consider
> gsl_sf_gamma_inc_Q ... <snip> ... I don't see how to map
> from the PDL documentation to the GSL function.
> 
> For the GSL, in each case we have 3 doubles: 2 input
> parameters and one result.  In the case of the "_e"
> version of the function, we also have an integer status
> return value.
> 
> The PDL signature has *4* doubles. 2 would map to
> the function arguments, and one would hold the result.
> So what is the additional double [o]e() output argument
> for?  This holds for all the routines in this module - an
> extra output double argument, with no explanation of
> what it means.

The [o]e output argument contains numerical error bounds
for the value returned.  See the GSL manual for the details
starting with these links to get you going:

http://www.gnu.org/software/gsl/manual/html_node/Special-Function-Usage.html

http://www.gnu.org/software/gsl/manual/html_node/The-gsl_005fsf_005fresult-struct.html

This confused me when I first looked at some build problems
with GSL a few years ago.  The PDL docs could be more
helpful but right now they are pretty minimal.

--Chris
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to