def UnaryOperator (   self,
  C2source 
)

create new InterpolatingFunction C2source(self) evaluated pointwise

Parameters:
C2Source the outer member of the composition
Returns:
new InterpolatingFunction using the same transformation rules as the parent
Note:
This has different derivatives than C2ComposedFunction(self, right) since it is evaluated pointwise and then re-splined. If you want the full derivative information, use C2ComposedFunction()

Definition at line 1267 of file C2Functions.py.

01267                                      :
01268         "return new InterpolatingFunction C2source(self)"
01269         y=[C2source(self.fYout(yy)) for yy in self.F] #get array of y values efficiently
01270         #get exact derivative of composition at each end to seed new spline.
01271         junk, yp0, junk = C2source.compose(self, self.Xraw[0]) 
01272         junk, ypn, junk = C2source.compose(self, self.Xraw[-1]) 
01273 
01274         f=InterpolatingFunction(self.Xraw, y, lowerSlope=yp0, upperSlope=ypn,
01275             XConversions=self.XConversions, YConversions=self.YConversions)
01276         f.name=C2source.name+'('+self.name+')'
01277         return f
01278 
    ##


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