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.

Reimplemented in C2LHopitalRatio.

Definition at line 849 of file C2Functions.py.

00849                                        :
00850         y0, yp0, ypp0=self.left.value_with_derivatives(x)
00851         y1, yp1, ypp1=self.right.value_with_derivatives(x)
00852         return y0/y1, (yp0*y1-y0*yp1)/(y1*y1), (y1*y1*ypp0+y0*(2*yp1*yp1-y1*ypp1)-2*y1*yp0*yp1)/(y1*y1*y1)
##


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