Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Using PDL::GSLSF::GAMMA

by Khen1950fx (Canon)
on Aug 09, 2012 at 14:47 UTC ( #986536=note: print w/ replies, xml ) Need Help??


in reply to Using PDL::GSLSF::GAMMA

Try this:

#!/usr/bin/perl -l BEGIN { $| = 1; $^W = 1; } use autodie; use PDL::LiteF; use common::sense; BEGIN { use PDL::Config; if ( $PDL::Config{'WITH_GSL'} ) { eval " use PDL::GSLSF::GAMMA "; unless ($@) { return; } else { print "Houston, we have a problem: $!"; } } } my $num = 0.4; my ($f, $e) = gsl_sf_gamma($num); print $f;


Comment on Re: Using PDL::GSLSF::GAMMA
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://986536]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (16)
As of 2015-07-01 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (15 votes), past polls