Merge branch 'master' of http://leto.net/code/Math-GSL
[Math-GSL.git] / Poly.i
blobcf9be178308b8c9afd56d80bdd95f19f5976f3ad
1 %module Poly
2 %{
3 #include "/usr/local/include/gsl/gsl_poly.h"
4 #include "/usr/local/include/gsl/gsl_complex.h"
5 %}
7 %include "/usr/local/include/gsl/gsl_poly.h"
8 %include "/usr/local/include/gsl/gsl_complex.h"
10 %include "carrays.i"
11 %include "cpointer.i"
12 %include "typemaps.i"
13 %array_functions(double, doubleArray);
14 %pointer_functions(double, ptr);
16 %perlcode %{
18 @EXPORT_OK = qw(gsl_poly_eval gsl_poly_solve_quadratic);
19 %EXPORT_TAGS = ( all => [ @EXPORT_OK ] );