Reference Guide > F Routines > FUNCT Procedure
  

FUNCT Procedure
Standard Library procedure that evaluates a function that is a sum of a Gaussian and a second order polynomial.
Usage
FUNCT, x, parms, funcval[, pder]
Input Parameters
x—The values of the independent variable.
parms—The parameters of equation described in the Discussion section.
funcval—The value of function described in the Discussion section, at each x(i).
Output Parameters
pder—(optional) An N_ELEMENT(x)-by-6 array containing the partial derivatives of the function. The parameter pder(i, j) is equal to the derivative at the ith point with respect to the jth parameter.
Keywords
None.
Discussion
The FUNCT procedure is used primarily by the CURVEFIT function to fit the sum of a line and a varying background to actual data. The function to be evaluated is:
where
See Also
CURVEFIT
 

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.