CURVI(3NCARG)

✨ CURVI ✨

okay bestie, welcome to CURVI from the NCAR GRAPHICS manual (section 3NCARG, iykyk) β€” she's the girl who integrates a spline curve πŸ’…


🌸 NAME 🌸

CURVI β€” integrate a spline curve. that's it, that's the whole job, and she ate πŸ”₯


πŸŽ€ SYNOPSIS πŸŽ€

FUNCTION CURVI (XL, XU, N, X, Y, YP, SIGMA)

so like. this function calculates an integral between two specified limits 🫢. CURV1 must be called prior to calling CURVI, and the values thus obtained used as input to CURVI. The value of the integral is returned. no cap, that's the whole flow ✨

⚠️ literally do not skip the CURV1 step first, bestie, CURVI needs those values as input or she cannot serve πŸ’€

πŸ’– DESCRIPTION πŸ’–

  • XL β€” (real, input) The lower limit of the integration. the floor, the starting line 🌸
  • XR β€” (real, input) The upper limit of the integration. the ceiling, the finish line ✨
  • N β€” (real, input) The number of input data values. (N > 1) like, strictly greater than 1, don't play πŸ™ˆ
  • X β€” (real, input) An array containing the abscissae for the input function.
  • Y β€” (real, input) An array containing the functional values of the input function β€” Y(K) is the (real, input) functional value at X(K) for K=1,N. so Y(K) vibes with X(K), they're a package deal πŸ’œ
  • YP β€” (real, input) Contains values for the second derivative (as calculated by CURV1). this is the CURV1 handoff we were talking about πŸ‘‘
  • 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 is 1. so lowkey smooth ↔️ highkey angular, and 1 is the main character default πŸ¦‹

🌈 RETURN VALUE 🌈

CURVI returns the integral of the interpolated curve between the specified limits. that's the gift, that's the payoff, periodt πŸ’…


🧚 ACCESS 🧚

To use CURVI, load the NCAR Graphics library ngmath. don't forget her or she will simply not load 😭


⭐ SEE ALSO ⭐

  • curv1
  • fitgrid_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 giving βœ¨πŸ“š


Copyright (C) 2000 University Corporation for Atmospheric Research

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


mwah πŸ’‹ and that's the whole page β€” this was the UNIX edition, dated March 1998, and the page lives under the name CURVI(3NCARG) in the NCAR GRAPHICS manual set. go integrate something gorgeous, bestie πŸ«Άβœ¨πŸ’–