adding documentation and swig stuff to Randist.i, still got work to do
[Math-GSL.git] / PowInt.i
blobc7b6013bdf7142abd96c500d703972eeadac91d7
1 %module PowInt
2 %{
3 #include "/usr/local/include/gsl/gsl_pow_int.h"
4 %}
6 %include "/usr/local/include/gsl/gsl_pow_int.h"
8 %perlcode %{
10 our @EXPORT_OK = qw/ gsl_pow_2 gsl_pow_2 gsl_pow_3
11 gsl_pow_4 gsl_pow_5 gsl_pow_6
12 gsl_pow_7 gsl_pow_8 gsl_pow_9
13 gsl_pow_int
15 our %EXPORT_TAGS = ( all => [ @EXPORT_OK ] );
17 __END__
19 =head1 NAME
21 Math::GSL::PowInt - mathematical power functions
23 =head1 SYPNOPSIS
25 use Math::GSL::PowInt qw /gsl_pow_2/;
27 print "gsl_pow_2(4)=" . gsl_pow_2(4) . "\n";
29 =head1 DESCRIPTION
31 This module uses the GSL mathematical functions. It contains gsl_pow_2 to gsl_pow_9. If you need a power higher than 9, you can use gsl_pow_int.
32 You have to add the functions you want to use inside the qw /put_funtion_here /. You can also write use Math::GSL::PowInt qw/:all/ to use all avaible functions of the module.
34 =head1 AUTHOR
36 Jonathan Leto <jaleto@gmail.com> and Thierry Moisan <thierry.moisan@gmail.com>
38 =head1 COPYRIGHT AND LICENSE
40 Copyright (C) 2008 Jonathan Leto and Thierry Moisan
42 This program is free software; you can redistribute it and/or modify it
43 under the same terms as Perl itself.
45 =cut