def __init__ (   self,
  outer,
  inner 
)

construct the function outer(inner)

Parameters:
outer the outer function of the composition
inner the inner function of the composition
Note:
The functions can either be unbound class names or class instances. If they are class names, they will be instantiated with default arguments

Definition at line 787 of file C2Functions.py.

00787                                     :
00788         if type(inner) is types.ClassType: inner=inner() #instatiate unbound class
00789         if type(outer) is types.ClassType: outer=outer() #instatiate unbound class
00790         C2Function.__init__(self, inner) #domain is that of inner function
00791         self.outer=outer
00792         self.inner=inner
00793         self.name=outer.name+'('+inner.name+')'
00794         
    def value_with_derivatives(self, x): return self.outer.compose(self.inner, x)


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