---
name: "Math::GSL::Spline"
section: "3pm"
platform: "linux"
package: "libmath-gsl-perl"
version: "0.45-2+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Math::GSL::Spline"
---

# Math::GSL::Spline(3pm)

Splines

## NAME

Math::GSL::Spline - Splines

## SYNOPSIS

```
    use Math::GSL::Spline qw/:all/;
```

## 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.

- •

  `"gsl_spline_alloc($T, $size)"`

- •

  `"gsl_spline_init($spline, $xa, $ya, $size)"`

- •

  `gsl_spline_free($spline)`

- •

  `gsl_spline_name($spline)`

- •

  `gsl_spline_min_size($spline)`

- •

  `"gsl_spline_eval_e($spline, $x, $acc)"`

- •

  `"gsl_spline_eval($spline, $x, $acc)"`

- •

  `"gsl_spline_eval_deriv_e($spline, $x, $acc)"`

- •

  `"gsl_spline_eval_deriv($spline, $x, $acc)"`

- •

  `"gsl_spline_eval_deriv2_e($spline, $x, $acc)"`

- •

  `"gsl_spline_eval_deriv2($spline, $x, $acc)"`

- •

  `"gsl_spline_eval_integ_e($spline, $a, $b, $acc)"`

- •

  `"gsl_spline_eval_integ($spline, $a, $b, $acc)"`

For more information on the functions, we refer you to the GSL official documentation: \<http://www.gnu.org/software/gsl/manual/html\_node/\>

## AUTHORS

Jonathan "Duke" Leto \<jonathan@leto.net\> and Thierry Moisan \<thierry.moisan@gmail.com\>

## 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.
