pp_addpm({At=>Top},<<'EOD');
=head1 NAME
PDL::GSLSF::CLAUSEN - PDL interface to GSL Special Functions
=head1 DESCRIPTION
This is an interface to the Special Function package present in the GNU Scientific Library.
=head1 SYNOPSIS
=cut
EOD
# PP interface to GSL
pp_addhdr('
#include <gsl/gsl_sf.h>
#include "../gslerr.h"
');
pp_def('gsl_sf_clausen',
GenericTypes => [D],
Pars=>'double x(); double [o]y(); double [o]e()',
Code =>'
gsl_sf_result r;
GSLERR(gsl_sf_clausen_e,($x(),&r))
$y() = r.val;
$e() = r.err;
',
Doc =>'Clausen Integral. Cl_2(x) := Integrate[-Log[2 Sin[t/2]], {t,0,x}]'
);
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 PDL distribution. If this file is separated from the
PDL distribution, the copyright notice should be included in the file.
The GSL SF modules were written by G. Jungman.
=cut
EOD
pp_done();