CURVPI(3NCARG)
π NAME π
CURVPI β bestie, this one integrates a periodic spline curve. That's it, that's the whole job. β¨
Oh and hey, this page lives in the 3NCARG manual (that's the NCAR Graphics girlies), so likeβ¦ welcome to the spline-verse. π¦
πΈ SYNOPSIS πΈ
FUNCTION CURVPI (XL, XU, N, X, Y, P, YP, SIGMA)
So this function calculates an integral between two specified limits, okay? But here's the thing β CURVP1 has got to be called before you call CURVPI, and the values you get from it are what you feed in as input here. Main character prerequisite energy. π
And then the value of the integral is returned. Periodt. π
β¨ DESCRIPTION β¨
Alright, let's go through the whole friend group one by one:
XLβ (real, input) The lower limit of the integration. The floor, the beginning, where the vibe starts. πXRβ (real, input) The upper limit of the integration. The ceiling, the end, where we stop. π
Not me noticing the synopsis calls itXUand the description calls itXRβ¦ bestie I'm just reporting what the page says, fr fr, I do not make the rules. π
Nβ (real, input) The number of input data values. And it's gotta beN > 1, no cap, that's literally a requirement. πXβ (real, input) An array containing the abscissae for the input function. The x's, the horizontal girlies. β¨Yβ (real, input) An array containing the functional values of the input function βY(K)is the (real, input) functional value atX(K)forK=1,N. So like, they pair up. Iconic duo behavior. π«ΆPβ (real, input) The period of the function. It goes around and comes back around, it's giving circular, it's giving full cycle. π₯YPβ (real, input) Contains values for the second derivative (as calculated byCURV1). Yes,CURV1β that's what it says, I'm not changing a single letter, bestie. πSIGMAβ (real, input) Tension factor. Okay so the tea here: values near zero result in a cubic spline; large values (e.g.50) result in nearly a polygonal line. A typical value is1. So like, lowSIGMA= smooth girl, highSIGMA= sharp girl. Choose your fighter. π
π RETURN VALUE π
CURVPI returns the integral of the interpolated curve between the specified limits. That's the whole gift. That's what you came for. π
π ACCESS π
To use CURVPI, load the NCAR Graphics library ngmath. That's the invite, that's the entry fee, don't forget it. π§
π₯ SEE ALSO π₯
curv1fitgrid_params
Also, for the girlies who want the full lore: complete documentation for Fitgrid is available at this URL β
http://ngwww.ucar.edu/ngdoc/ng/ngmath/fitgrid/fithome.html
Go read it, it's giving academic. πβ¨
π COPYRIGHT π
Copyright (C) 2000
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement. Yes bestie, there's a whole License Agreement, read it, respect it, it's the law. β
Okay so that's the whole page!! This was the NCAR GRAPHICS CURVPI situation, straight outta the UNIX manual, dated <strong>March 1998</strong> β yes she's an elder but she still ate. π Go integrate something cute, bestie, and remember: CURVP1 first, always. Mwah!! π¦πΈπ
π¦ 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