def SetRightExtrapolation (   self,
  bound 
)

Set extrapolation on right end of data set.

This will be dynamically assigned to either SetLowerExtrapolation or SetUpperExtrapolation by the constructor depending on whether the transformed spline is running in increasing or decreasing order. This is necessary since the arrays may have been reversed because of a transformation of x.

Parameters:
bound the bound to which the right edge of the data should be extrapolated
Set extrapolation on right end of data set.  
This will be dynamically assigned to either SetLowerExtrapolation or SetUpperExtrapolation by the constructor

Definition at line 1220 of file C2Functions.py.

01220                                           :
01221         """Set extrapolation on right end of data set.  
01222         This will be dynamically assigned to either SetLowerExtrapolation or SetUpperExtrapolation by the constructor
01223         """
01224         xmax=self.fXin(bound)
01225         if xmax <= self.X[-1]: 
01226             raise C2Exception("Attempting to extrapolate spline within its current range: bound = %g, bounds [%g, %g]" % 
01227                 ((bound,) + self.GetDomain()) )
01228 
01229         self.X, self.F, self.y2=_spline_extension(self.X, self.F, self.y2, xmax=xmax)
01230         self.Xraw=_numeric.concatenate((self.Xraw, (bound, )))
01231         self.SetDomain(min(self.Xraw), max(self.Xraw))
01232 
    ##


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