diff options
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 |