pp_addpm({At=>Top},<<'EOD');
=head1 NAME

PDLA::GSLSF::POLY - PDLA interface to GSL Special Functions

=head1 DESCRIPTION

This is an interface to the Special Function package present in the GNU Scientific Library. 

NOTE: this should actually be PDLA::POLY for consistency but I don't want to get into edits
changing the directory structure at this time.  These fixes should allow things to build.

=head1 SYNOPSIS

=cut


EOD

# PP interface to GSL

pp_addhdr('

#include <gsl/gsl_poly.h>

#include "../gslerr.h"

');

pp_def('gsl_poly_eval',
       GenericTypes => [D],
       Pars=>'double x(); double c(m); double [o]y()',
       Code =>'
$y() = gsl_poly_eval($P(c),$SIZE(m),$x());
',
       Doc =>'c[0] + c[1] x + c[2] x^2 + ... + c[m-1] x^(m-1)'
      );

pp_addpm({At=>Bot},<<'EOD');
=head1 AUTHOR

This file copyright (C) 1999 Christian Pellegrin <chri@infis.univ.trieste.it>
All rights reserved. There
is no warranty. You are allowed to redistribute this software /
documentation under certain conditions. For details, see the file
COPYING in the PDLA distribution. If this file is separated from the
PDLA distribution, the copyright notice should be included in the file.

The GSL SF modules were written by G. Jungman.

=cut


EOD

pp_done();