1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
|
%perlcode %{
@EXPORT_OK = qw/
gsl_spline_alloc
gsl_spline_init
gsl_spline_name
gsl_spline_min_size
gsl_spline_eval_e
gsl_spline_eval
gsl_spline_eval_deriv_e
gsl_spline_eval_deriv
gsl_spline_eval_deriv2_e
gsl_spline_eval_deriv2
gsl_spline_eval_integ_e
gsl_spline_eval_integ
gsl_spline_free
/;
%EXPORT_TAGS = ( all => [ @EXPORT_OK ] );
__END__
=encoding utf8
=head1 NAME
Math::GSL::Spline - Splines
=head1 SYNOPSIS
use Math::GSL::Spline qw/:all/;
=head1 DESCRIPTION
The functions described in the Interp module required the user to supply
pointers to the x and y arrays on each call. The following functions are
equivalent to the corresponding gsl_interp functions but maintain a copy of
this data in the gsl_spline object. This removes the need to pass both xa and
ya as arguments on each evaluation.
=over
=item * C<gsl_spline_alloc($T, $size)>
=item * C<gsl_spline_init($spline, $xa, $ya, $size)>
=item * C<gsl_spline_free($spline)>
=item * C<gsl_spline_name($spline)>
=item * C<gsl_spline_min_size($spline)>
=item * C<gsl_spline_eval_e($spline, $x, $acc)>
=item * C<gsl_spline_eval($spline, $x, $acc)>
=item * C<gsl_spline_eval_deriv_e($spline, $x, $acc)>
=item * C<gsl_spline_eval_deriv($spline, $x, $acc)>
=item * C<gsl_spline_eval_deriv2_e($spline, $x, $acc)>
=item * C<gsl_spline_eval_deriv2($spline, $x, $acc)>
=item * C<gsl_spline_eval_integ_e($spline, $a, $b, $acc)>
=item * C<gsl_spline_eval_integ($spline, $a, $b, $acc)>
=back
For more information on the functions, we refer you to the GSL official
documentation: L<http://www.gnu.org/software/gsl/manual/html_node/>
=head1 AUTHORS
Jonathan "Duke" Leto <jonathan@leto.net> and Thierry Moisan <thierry.moisan@gmail.com>
=head1 COPYRIGHT AND LICENSE
Copyright (C) 2008-2024 Jonathan "Duke" Leto and Thierry Moisan
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
=cut
%}
|