FUNCT procedure evaluates the sum of a Gaussian and a 2nd-order polynomial and optionally returns the value of its partial derivatives. Normally, this function is used by CURVEFIT to fit the sum of a line and a varying background to actual data.
This routine is written in the IDL language. Its source code can be found in the file
subdirectory of the IDL distribution.
X, A, F [, Pder]
A vector of values for the independent variable.
A vector of coefficients for the equations:
A named variable that will contain the value of the function at each
A named variable that will contain an array of the size (N_ELEMENTS(
),6) that contains the partial derivatives.
represents the derivative at the
point with respect to