diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /math/nlfit/nlstati.x | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'math/nlfit/nlstati.x')
-rw-r--r-- | math/nlfit/nlstati.x | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/math/nlfit/nlstati.x b/math/nlfit/nlstati.x new file mode 100644 index 00000000..04c8cf27 --- /dev/null +++ b/math/nlfit/nlstati.x @@ -0,0 +1,26 @@ +include "nlfitdefr.h" +include <math/nlfit.h> + +# NLSTATI - Fetch a NLFIT integer parameter + +int procedure nlstati (nl, param) + +pointer nl # pointer to NLFIT structure +int param # parameter to be fetched + +begin + switch (param) { + case NLNPARAMS: + return (NL_NPARAMS(nl)) + case NLNFPARAMS: + return (NL_NFPARAMS(nl)) + case NLITMAX: + return (NL_ITMAX(nl)) + case NLITER: + return (NL_ITER(nl)) + case NLNPTS: + return (NL_NPTS(nl)) + default: + return (INDEFI) + } +end |