KURV2(3NCARG)
π KURV2 β it's giving interpolation, bestie π
okay so this is KURV2, a page from the NCAR GRAPHICS manual (section 3NCARG, if you're keeping track π), and it literally does interpolation for parametric curves. no cap.
β¨ NAME β¨
KURV2 β does interpolation for parametric curves π¦
πΈ SYNOPSIS πΈ
CALL KURV2 (T, XS, YS, N, X, Y, XP, YP, S, SIGMA)
so here's the vibe: the interpolated curve is parameterized by mapping points in the interval [0.,1.] onto the interpolated curve. the resulting curve has a parametric representation where both of its components are splines under tension, and they're functions of the polygonal arc length. the value 0. is mapped onto (X[1],Y[1]) and the value 1. is mapped onto (X[N],Y[N]). π«
π¨ bestie listen βKURV1must be called before callingKURV2. not optional. don't skip it. π
π DESCRIPTION π
Tβ (real, input) a value to be mapped to a point on the curve. the interval[0.,1.]is mapped onto the curve such that0.is mapped to(X(1),Y(1))and1.is mapped to(X(N),Y(N)). values outside of[0.,1.]result in extrapolation π³ so like, stay in your lane unless you're being intentional about it.XSβ (real, output) contains the X coordinate of the interpolated point thatTmaps to. iconic. πYSβ (real, output) contains the Y coordinate of the interpolated point thatTmaps to. slay. πNβ (integer, input) the number of input data points. (N > 1) fr fr, it's gotta be more than one.Xβ (real, input) an array containing the X values of the input points.Yβ (real, input) an array containing the Y values of the input points. adjacent pairs of points must be distinct β like, no duplicates, they have to actually be different points, okay? π«ΆXPβ (real, input) an array of lengthNas computed byKURV1.YPβ (real, input) an array of lengthNas computed byKURV1.Sβ (real, input) an array of lengthNcontaining the polygonal arc lengths of the curve.SIGMAβ (real, input) tension factor. values near zero result in a cubic spline; large values (e.g.50) result in nearly a polygonal line. a typical value is1. it's giving tension, literally β¨
π ACCESS π
to use KURV2, load the NCAR Graphics library ngmath. that's the one. that's the whole access situation. π
π¦ SEE ALSO π¦
kurv1fitgrid_params
complete documentation for Fitgrid is available at URL http://ngwww.ucar.edu/ngdoc/ng/ngmath/fitgrid/fithome.html β go read it, bestie, it's right there π
π COPYRIGHT π
Copyright (C) 2000 University Corporation for Atmospheric Research
the use of this Software is governed by a License Agreement. read it, respect it, periodt. π
and that's the whole page, bestie!! this one's from March 1998, it's the UNIX version of the KURV2(3NCARG) page, and honestly? she's a classic. stay interpolated, stay iconic. πβ¨π
π¦ where this page comes from
- epel 9: ncl-devel 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-devel 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-devel 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms