KURVP2(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

✨ NAME ✨

KURVP2 β€” bestie, this one does the interpolation for closed parametric curves πŸ’«


🌸 SYNOPSIS 🌸

CALL KURVP2 (T, XS, YS, N, X, Y, XP, YP, S, SIGMA)

okay so here's the tea β˜• β€” the interpolated curve gets parameterized by mapping points in the interval [0.,1.] onto an interpolated closed curve. The resulting curve has a parametric representation where both components are splines under tension and functions of the polygonal arc length. The value 0. is mapped onto (X[1],Y[1]) and the value 1. is also mapped onto (X[1],Y[1]), because the interpolated curve is closed (it comes back around, it's giving full circle energy πŸ”„). And pookie, listen: KURVP1 must be called before calling KURVP2. No skipping steps πŸ’…


πŸ’– DESCRIPTION πŸ’–

  • T (real, input) β€” the value that's gonna get mapped to a point on the curve. The interval [0.,1.] maps onto the curve such that 0. maps to (X(1),Y(1)) and 1. maps to (X(1),Y(1)), since the interpolated curve is closed. Any interval [TT,TT+1.] maps onto the entire curve. she's flexible like that ✨
  • XS (real, output) β€” holds the X coordinate of the interpolated point that T maps to πŸŽ€
  • YS (real, output) β€” holds the Y coordinate of the interpolated point that T maps to πŸ¦‹
  • N (integer, input) β€” the number of input data points. (N > 1) β€” gotta have at least two, no solo acts here πŸ‘‘
  • X (real, input) β€” an array holding the X values of the input points.
  • Y (real, input) β€” an array holding the Y values of the input points. Adjacent pairs of points must be distinct β€” like, no two neighbors sitting on top of each other, that's not the vibe 🚫
  • XP (real, input) β€” an array of length N as computed by KURVP1.
  • YP (real, input) β€” an array of length N as computed by KURVP1.
  • S (real, input) β€” an array of length N containing the polygonal arc lengths of the curve.
  • SIGMA (real, input) β€” the tension factor, aka the drama knob 😌. Values near zero result in a cubic spline; large values (e.g. 50) result in nearly a polygonal line. A typical value is 1.

πŸ”₯ ACCESS πŸ”₯

To use KURVP2, load the NCAR Graphics library ngmath. that's it, that's the whole ritual 🫢


🌈 SEE ALSO 🌈

  • kurvp1
  • fitgrid_params

Complete documentation for Fitgrid is available at URL http://ngwww.ucar.edu/ngdoc/ng/ngmath/fitgrid/fithome.html β€” go read it, iykyk πŸ“š


Copyright (C) 2000 University Corporation for Atmospheric Research

The use of this Software is governed by a License Agreement.


and that's the whole page bestie πŸ’œ this was KURVP2(3NCARG) from the UNIX manual, dated March 1998 β€” iconic, timeless, ate, periodt βœ¨πŸŽ€

πŸ“¦ where this page comes from