def SetDomain (   self,
  xmin,
  xmax 
)

Set the domain of the function to (xmin, xmax). Mostly, the domain is informative, and used by other functions to figure out where the function should be applied. many functions can be evaluated without error outside their marked domain. However, some functions for which it is wrong to do so (InterpolatingFunction, e.g.) will raise an exception.

Parameters:
xmin the lower bound of the domain
xmax the upper bound of the domain

Definition at line 229 of file C2Functions.py.

00229                                    : 
00230         "Set the domain of the function. This is mostly an advisory range, except for InterpolatingFunctions, where it matters"
00231         self.xMin=xmin; self.xMax=xmax; return self
00232 


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