Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 lurking in the Monastery: (6)
As of 2014-09-16 10:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (0 votes), past polls