wannymahoots has asked for the wisdom of the Perl Monks concerning the following question:
However, I can't seem to replicate this using PDL:> gamma(0.4) [1] 2.21816
Output is "1.63493983016443e-14". I'm clearly doing something wrong, please excuse my ignorance. Any help greatly appreciated.#!/usr/bin/perl use PDL; use PDL::GSLSF::GAMMA; my $out = gsl_sf_gamma(0.4); print "$out\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using PDL::GSLSF::GAMMA
by Khen1950fx (Canon) on Aug 09, 2012 at 14:47 UTC | |
|
Re: Using PDL::GSLSF::GAMMA
by syphilis (Archbishop) on Aug 09, 2012 at 14:50 UTC | |
by Khen1950fx (Canon) on Aug 09, 2012 at 17:28 UTC | |
|
Re: Using PDL::GSLSF::GAMMA
by Anonymous Monk on Aug 09, 2012 at 15:08 UTC | |
|
Re: Using PDL::GSLSF::GAMMA
by etj (Priest) on May 22, 2022 at 20:06 UTC |