diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
commit | fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch) | |
tree | bdda434976bc09c864f2e4fa6f16ba1952b1e555 /math/nlfit/nlstati.x | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
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 |