def value_with_derivatives (   self,
  x 
)

get the value of the function, and its first & second derivative

Parameters:
x the point at which to evaluate the function
Returns:
(f(x), f'(x), f''(x))

Reimplemented from C2Function.

Definition at line 172 of file voigt_profile.py.

00172                                                :
00173                 x=x/self.sigma
00174                 a=math.exp(-x*x/2)*self.scale/self.sigma
00175                 return a, -x*a/self.sigma, (x*x-1)*a/self.sigma**2
00176         
00177         class lorentz(C2Functions.C2Function):
            def set_center(self, center):


Generated on Wed Nov 21 10:18:33 2007 for analysis by  doxygen 1.5.4