Math::...:Spline(3pm)
π NAME π
Math::...:Spline β bestie, it's Splines. That's it. That's the name. Slay. π
(Also: this is a 3pm page, from the User Contributed Perl Documentation collection, so you know it's the community-coded Perl side of things. π«Ά)
β¨ SYNOPSIS β¨
use Math::GSL::Spline qw/:all/;
Yup, one line. Import everything with :all, no notes. Iconic behaviour, honestly. πΈ
π DESCRIPTION π
okay so here's the lore. The functions over in the Interp module were kinda high-maintenance β they made you supply pointers to the x and y arrays on every single call. Every call. Exhausting. π
The functions below are the glow-up version: they're equivalent to the corresponding gsl_interp functions, BUT they keep their own copy of your data inside the gsl_spline object. So you never have to pass both xa and ya as arguments on each evaluation ever again. It's giving independent. β¨
Here's the whole cast, no skips, no cuts: π
"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)"
And if you want the full deep-dive on what all of these actually do (because bestie, this page is not gonna hold your hand on every parameter), the page says: go read the GSL official documentation, right here π
<http://www.gnu.org/software/gsl/manual/html_node/>
That's the source of truth, no cap. π¦
π AUTHORS π
The legends behind this:
- Jonathan "Duke" Leto
<jonathan@leto.net> - Thierry Moisan
<thierry.moisan@gmail.com>
Two icons, one module. π₯
π 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. So like, go wild, respectfully. π
ok and that's the whole page!! every single function accounted for, nothing dropped, we ate and left no crumbs. π
Sign-off time, babes: this was documented with perl v5.42.3, dated 2026-08-20, and the page you just read is the one and only Math::...:Spline(3pm). mwah. π
β¨πΈ
π¦ where this page comes from
- ubuntu stonking: libmath-gsl-perl 0.49-1build1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms