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
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 ##
|