c_ftsetfa(3NCARG)

✨ c_ftsetfa ✨

okay so bestie, welcome to c_ftsetfa from the NCAR GRAPHICS manual (that's section 3NCARG btw, iykyk). this is the little guy that sets your float-valued array parameters. let's get into it πŸ’…


🌸 NAME 🌸

c_ftsetfa β€” set float valued array parameters


🧚 FUNCTION PROTOTYPE 🧚

int c_ftsetfa(char *pnam, int n, float *far);

πŸŽ€ SYNOPSIS πŸŽ€

int c_ftsetfa (pnam, n, far);

πŸ¦‹ DESCRIPTION πŸ¦‹

here's the tea on the arguments, one by one, no skips:

  • pnam β€” the name of the control parameter that's getting assigned a float array value. literally just the name, bestie.
  • n β€” how many float values are chilling in the array.
  • far β€” a pointer to that n-element input array. the whole squad of floats.

πŸ’– USAGE πŸ’–

so c_ftsetra is what you use to set values for any of the control parameters that take floating arrays. (yes, that's literally the name written on the page β€” i'm just the messenger πŸ™ˆ)

and the way that the values you set with c_ftsetfa stay in effect until they get changed by subsequent calls to c_ftsetfa? iconic. they just persist. main character energy, honestly. periodt.


πŸ”₯ ACCESS πŸ”₯

to use c_ftsetfa, you gotta load the NCAR Graphics library ngmath. that's the vibe check β€” no library, no function. 🫢


πŸ‘‘ SEE ALSO πŸ‘‘

  • fitgrid_params
  • c_ftsetfa
  • c_ftgetfa_size
  • c_ftgetfa_data

also, full documentation for Fitgrid lives right here, go be nosy:

http://ngwww.ucar.edu/ngdoc/ng/ngmath/fitgrid/fithome.html

Copyright (C) 2000 University Corporation for Atmospheric Research

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


friendly reminder bestie: this whole thing is governed by a License Agreement, so don't be out here doing wild stuff with it. read the license, love the license. πŸ’œ

and that's the page, fr fr 🌸 this was c_ftsetfa(3NCARG), served up from the NCAR GRAPHICS manual, and the original footer was stamped UNIX, March 1998. so retro, so iconic, ate and left no crumbs βœ¨πŸ’…πŸŽ€