diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /math/nlfit/nlpget.gx | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'math/nlfit/nlpget.gx')
-rw-r--r-- | math/nlfit/nlpget.gx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/math/nlfit/nlpget.gx b/math/nlfit/nlpget.gx new file mode 100644 index 00000000..3a74fa6f --- /dev/null +++ b/math/nlfit/nlpget.gx @@ -0,0 +1,18 @@ +$if (datatype == r) +include "nlfitdefr.h" +$else +include "nlfitdefd.h" +$endif + +# NLPGET - Retreive parameter values + +procedure nlpget$t (nl, params, nparams) + +pointer nl # pointer to the nlfit structure +PIXEL params[ARB] # parameter array +int nparams # the number of the parameters + +begin + nparams = NL_NPARAMS(nl) + call amov$t (PARAM(NL_PARAM(nl)), params, nparams) +end |