CURVS2(3NCARG)
β¨ CURVS2 β¨ (from the 3NCARG manual, bestie π)
okay so picture this: you've already got a smoothing spline under tension all set up, and now you need the actual interpolated value at one specific point. that's literally what CURVS2 does. it's giving "the finishing touch". π
πΈ NAME πΈ
CURVS2 β calculates an interpolated value for a smoothing spline under tension at a given point. no cap, that's the whole job. π
π¦ SYNOPSIS π¦
FUNCTION CURVS2(T,N,PARAM,X,Y,XP,YP,SIGMA,XO,YO)
so here's the tea: this subroutine is a companion to CURV1S, and CURV1S must be called before you call this one. like, that's not optional, that's the law. π«Ά once you've done that, CURV2S calculates an interpolated value for a smoothing spline under tension at a given point.
π DESCRIPTION π
Tβ (real, input) a real value that gets mapped onto the interpolating curve. values ofTbetween zero and one interpolate the original data; any values ofToutside that range? extrapolation, bestie. you're off the map. πΊοΈNβ (integer, input) the number of points that were specified to determine the curve back inCURVS1.PARAMβ (real, input) the arc lengths, as computed byCURVS1. it already did the math, you just carry it over. πXβ (real, input) an array holding the X-coordinate values of the specified points.Yβ (real, input) an array holding the Y-coordinate values of the specified points.XPβ (real, input) an array of second derivative values, as calculated byCURVS1.YPβ (real, input) an array of second derivative values, as calculated byCURVS1.SIGMAβ (real, input) the tension factor, the moment of truth π. values near zero give you a cubic spline; large values (like, e.g.50) give you nearly a polygonal line. a typical value is1.XOβ (real, output) the interpolated X value. that's the one you came for. β¨YOβ (real, output) the interpolated Y value. its bestie. π«Ά
π ACCESS π
to use CURV2, load the NCAR Graphics library ngmath. that's it, that's the whole vibe check. π
β SEE ALSO β
curvs1fitgrid_params
complete documentation for Fitgrid is available at URL http://ngwww.ucar.edu/ngdoc/ng/ngmath/fitgrid/fithome.html β go read it, iykyk. π
π COPYRIGHT π
Copyright (C) 2000 University Corporation for Atmospheric Research
the use of this Software is governed by a License Agreement. (yes, actually governed. read it. π)
ok that's the whole page, you ate that fr fr π₯
signing off from the NCAR GRAPHICS corner of the UNIX manual, dated August 2002 β slay, periodt. π
β¨
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms