diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
commit | fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch) | |
tree | bdda434976bc09c864f2e4fa6f16ba1952b1e555 /math/nlfit/nlpget.gx | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
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 |