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