KURV1(3NCARG)
β¨ KURV1 β¨
okay so bestie, welcome to the NCAR GRAPHICS girlies section of the 3NCARG manual π
this one is KURV1, and she's the prepper β she does the math so KURV2 can do the glow-up. π
πΈ NAME πΈ
KURV1 β literally just calculate values for KURV2 usage. that's it, that's the job π«Ά
π¦ SYNOPSIS π¦
CALL KURV1 (N, X, Y, SLP1, SLPN, ISLPSW, XP, YP, TEMP, S, SIGMA, IER)
This subroutine calculates certain values that are used by KURV2 in order to compute an interpolatory spline under tension through a sequence of points in the plane. no cap, it's giving setup energy β because the actual computation of the interpolated values must be done using KURV2. KURV1 does NOT do the whole thing herself. she's the opening act, not the headliner. π
π DESCRIPTION π
okay here's the whole cast, one by one, no skips:
Nβ (integer, input) The number of input data values. (N > 1) β yes, more than one, we need at least two points to make a line bestie πXβ (real, input) An array containing the X values of the points.Yβ (real, input) An array containing the Y values of the points. Adjacent pairs of points must be distinct. β like, they cannot be the same point twice, that's a hard no πSLP1β (real, input) A value (in radians) containing the slope at(X(1),Y(1)). The angles are measured counter-clockwise from the X axis and the positive sense of the curve is assumed to be that moving from point 1 to point N. A value forSLP1may be omitted as indicated by the switchISLPSW.SLPNβ (real, input) A value (in radians) containing the slope at(X(N),Y(N)). The angles are measured counter-clockwise from the X axis and the positive sense of the curve is assumed to be that moving from point 1 to point N. A value forSLP2may be omitted as indicated by the switchISLPSW.ISLPSWβ (integer, input) A switch to indicate whether the slopes at the end points should be calculated internally. The vibes are:= 0ifSLP1andSLPNare user-specified.= 1ifSLP1is user-specified, butSLPNcalculated internally.= 2ifSLPNis user-specified, butSLP1calculated internally.= 3ifSLP1andSLPNare internally calculated.
XPβ (real, output) An array of lengthN.YPβ (real, output) An array of lengthN.TEMPβ (real, input) Scratch space. β it's the little notepad she scribbles on, don't @ her about it πSβ (real, input) An array of lengthN. On output,Scontains the polygonal arclengths of the curve. β she comes in as one thing and leaves as another, main character transformation β¨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. β so like,0= smooth silky hair,50= crunchy straight-across bangs π pick your fighter.IERβ (integer, output) An error return value. IfIERis returned as0, then no errors were detected.= 1ifNis less than 2.= 2if a pair of adjacent points coincide.
fr fr, check your IER before you go blaming the math. she TELLS you what went wrong. π
π ACCESS π
To use KURV1, load the NCAR Graphics library ngmath. that's the whole step, go off π«Ά
π SEE ALSO π
kurv2fitgrid_params
Complete documentation for Fitgrid is available at URL http://ngwww.ucar.edu/ngdoc/ng/ngmath/fitgrid/fithome.html β click it, iykyk π
π COPYRIGHT π
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 KURV1 from the UNIX manual, dated March 1998, living under the 3NCARG section header β iconic behavior honestly, 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