From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- 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