GBINTERP(1)

πŸ“¦
version 6.3 Β· 2 versions
  • 6.3 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 6.0 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– GBINTERP(1) πŸ’–

okay bestie, so this is the manual page for gbinterp, a lil User Command that lives in your terminal and does one thing and does it gorgeously. it's giving ✨interpolation era✨ and honestly? we're obsessed. it's version 6.2, June 2021, and yes, she's an icon. let's get into it 🫢


🌸 NAME 🌸

gbinterp β€” Compute equispaced curve from interpolated

(that's the whole name line, no notes, she's concise and she's correct πŸ’…)


πŸŽ€ SYNOPSIS πŸŽ€

gbinterp [options]

literally that's it. just vibes and options. no positional args, no chaos, no cap ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea, bestie πŸ’–: gbinterp computes the interpolating function of the data you provide, and it does it on a regular mesh. very demure, very regular.

  • Data get read from standard input as couples (X,Y). two numbers per line, that's the whole assignment.
  • The interpolation (x, f(x)) gets printed for x in [rmin,rmax]. so you hand it a range, it hands you back the interpolated curve, slay.
  • If rmin=rmax, it prints a single value. one and done, main character energy πŸ‘‘
  • And with option -I, the points where the interpolation is computed get read from a file instead. flexible! we love options! 🧚

✨ OPTIONS ✨

  • -n β€” number of equispaced points (default 10). yeah, ten. iconic default, no notes.
  • -r β€” set the range 'rmin,rmax' (default full x range). if you don't say anything, she just uses everything you gave her 🌈
  • -I β€” read interpolation points from a file. the choose-your-own-adventure of it all πŸ“–
  • -M β€” the interpolation method: (default 0)
    • 0 β€” linear (requires at least 2 points)
    • 1 β€” cspline (requires at least 3 points)
    • 2 β€” Akima spline (requires at least 5 points)
  • -O β€” the type of output: (default 0)
    • 0 β€” interpolation
    • 1 β€” first derivative
    • 2 β€” second derivative
  • -F β€” specify the input fields separators (default " \t")
  • -h β€” print this help. your bestie when you forget everything πŸ₯Ί
  • -v β€” verbose mode. she will talk. she will tell you things. respect it πŸ’œ
heads up babes: those -M methods have minimum point requirements. if you ask for linear with only one point, or cspline with two, or Akima spline with fewer than 5, that's not gonna fly. the numbers are right there, pls respect them 😭

πŸ‘‘ AUTHOR πŸ‘‘

Written by Giulio Bottazzi. thank you for your service, king 🫢


πŸ› REPORTING BUGS πŸ›

Found a bug? Not the vibe, but also: tell someone! Report bugs to <gbutils@googlegroups.com> πŸ’Œ

Package home page <http://cafim.sssup.it/~giulio/software/gbutils/index.html>


Copyright Β© 2001-2018 Giulio Bottazzi This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (version 2) as published by the Free Software Foundation;

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

fr fr, read that second paragraph. NO WARRANTY. no implied warranty of merchantability, no fitness for a particular purpose. it's giving "you're on your own bestie" but in a legally binding way πŸ’€

okay and that's the whole page! this was gbinterp 6.2, dated June 2021, and honestly she ate and left no crumbs. go interpolate something cute πŸŒΈπŸ’–βœ¨πŸ¦‹