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/curfit/doc/cvpower.hlp | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'math/curfit/doc/cvpower.hlp')
-rw-r--r-- | math/curfit/doc/cvpower.hlp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/math/curfit/doc/cvpower.hlp b/math/curfit/doc/cvpower.hlp new file mode 100644 index 00000000..386558ce --- /dev/null +++ b/math/curfit/doc/cvpower.hlp @@ -0,0 +1,40 @@ +.help cvpower Jan86 "Curfit Package" +.ih +NAME +cvpower -- convert coefficients to power series coefficients. +.ih +SYNOPSIS +.nf +include <math/curfit.h> +include "curfitdef.h" + +cvpower (cv, ps_coeff, ncoeff) + +pointer cv # Curve descriptor +real ps_coeff[ncoeff] # Power series coefficients +int ncoeff # Number of coefficients in fit +.fi +.ih +ARGUMENTS +.ls cv +Pointer to the curve descriptor structure. +.le +.ls ps_coeff +The output array of power series coefficients. +.le +.ls ncoeff +The output number of coefficients in the fit. +.le +.ih +DESCRIPTION +This routine routines the equivlalent power series fit coefficients +and the number of coefficients. + +The coefficients of either a legendre or chebyshev solution can be converted +to power series coefficients of the form y = a0 + a1*x + a2*x**2 + a3*x**3... +The output coefficients are scaled to the original data range. +.ih +NOTES +Only legendre and chebyshev coefficients are converted. An error is +reported for other curve types. +.endhelp |