def compose (   self,
  inner,
  x 
)

return the value of self(inner_function(x)) without explicitly creating a composed function

If you really want the composed function self(inner), use C2ComposedFunction

Parameters:
inner the inner function
x the point at which to evaluate the composed function
Returns:
self(inner(x)) and its two derivatives

Definition at line 247 of file C2Functions.py.

00247                                :
00248         "y=f.compose(g, x) returns f(g(x)), f'(g(x)), f''(g(x)) where the derivatives are with respect to x"
00249         y0, yp0, ypp0=inner.value_with_derivatives(x)
00250         y1, yp1, ypp1=self.value_with_derivatives(y0)
00251         return y1, yp1*yp0, ypp0*yp1+yp0*yp0*ypp1
00252 
    ##


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