get the value of the function, and its first & second derivative
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) ##
|