diff options
Diffstat (limited to 'math/nlfit/nlpgetr.x')
-rw-r--r-- | math/nlfit/nlpgetr.x | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/math/nlfit/nlpgetr.x b/math/nlfit/nlpgetr.x new file mode 100644 index 00000000..73fd7cbb --- /dev/null +++ b/math/nlfit/nlpgetr.x @@ -0,0 +1,14 @@ +include "nlfitdefr.h" + +# NLPGET - Retreive parameter values + +procedure nlpgetr (nl, params, nparams) + +pointer nl # pointer to the nlfit structure +real params[ARB] # parameter array +int nparams # the number of the parameters + +begin + nparams = NL_NPARAMS(nl) + call amovr (PARAM(NL_PARAM(nl)), params, nparams) +end |