Update subsystems, add get_all() and length() methods to Vector objects, with tests.
[Math-GSL.git] / QRNG.i
blob6cb000cd5af446475c247f7d963ca9e58e26806d
1 %module QRNG
3 %include "typemaps.i"
5 %apply double *OUTPUT { double x[] };
7 %{
8 #include "/usr/local/include/gsl/gsl_types.h"
9 #include "/usr/local/include/gsl/gsl_qrng.h"
12 %include "/usr/local/include/gsl/gsl_types.h"
13 %include "/usr/local/include/gsl/gsl_qrng.h"
15 %perlcode %{
17 @EXPORT_OK = qw($gsl_qrng_niederreiter_2 $gsl_qrng_sobol $gsl_qrng_halton $gsl_qrng_reversehalton
18 gsl_qrng_alloc gsl_qrng_memcpy gsl_qrng_clone
19 gsl_qrng_free gsl_qrng_init gsl_qrng_name
20 gsl_qrng_size gsl_qrng_state gsl_qrng_get
22 %EXPORT_TAGS = ( all => [ @EXPORT_OK ] );
25 __END__
27 =head1 NAME
29 Math::GSL::QRNG
31 =head1 SYPNOPSIS
33 use Math::GSL::QRNG qw/:all/;
35 =head1 DESCRIPTION
36 Here is a list of all the functions included in this module :
38 gsl_qrng_alloc gsl_qrng_memcpy gsl_qrng_clone
39 gsl_qrng_free gsl_qrng_init gsl_qrng_name
40 gsl_qrng_size gsl_qrng_state gsl_qrng_get
42 This module also contains the following constants :
43 $gsl_qrng_niederreiter_2
44 $gsl_qrng_sobol
45 $gsl_qrng_halton
46 $gsl_qrng_reversehalton
48 For more informations on the functions, we refer you to the GSL offcial documentation: http://www.gnu.org/software/gsl/manual/html_node/
49 Tip : search on google: site:http://www.gnu.org/software/gsl/manual/html_node/ name_of_the_function_you_want
51 =head1 EXAMPLES
53 =head1 AUTHOR
55 Jonathan Leto <jonathan@leto.net> and Thierry Moisan <thierry.moisan@gmail.com>
57 =head1 COPYRIGHT AND LICENSE
59 Copyright (C) 2008 Jonathan Leto and Thierry Moisan
61 This program is free software; you can redistribute it and/or modify it
62 under the same terms as Perl itself.
64 =cut