From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- math/nlfit/nlpgetd.x | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 math/nlfit/nlpgetd.x (limited to 'math/nlfit/nlpgetd.x') diff --git a/math/nlfit/nlpgetd.x b/math/nlfit/nlpgetd.x new file mode 100644 index 00000000..419bde09 --- /dev/null +++ b/math/nlfit/nlpgetd.x @@ -0,0 +1,14 @@ +include "nlfitdefd.h" + +# NLPGET - Retreive parameter values + +procedure nlpgetd (nl, params, nparams) + +pointer nl # pointer to the nlfit structure +double params[ARB] # parameter array +int nparams # the number of the parameters + +begin + nparams = NL_NPARAMS(nl) + call amovd (PARAM(NL_PARAM(nl)), params, nparams) +end -- cgit