The 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
funct.pro
in the
lib
subdirectory of the IDL distribution.