Construct a new C2Function.
Reimplemented in C2Constant, C2ScaledRecip, and C2InverseFunction. Definition at line 98 of file C2Functions.py. 00098 : 00099 if not args: 00100 self.xMin, self.xMax=-1e308, 1e308 00101 elif len(args)==1: #constructing from a single C2Function 00102 self.xMin, self.xMax=args[0].xMin, args[0].xMax 00103 else: #it should be two C2Functions, and we take the inner bounds of the two 00104 l,r=args 00105 self.xMin=max(l.xMin, r.xMin) 00106 self.xMax=min(l.xMax, r.xMax) 00107 00108 self.sampling_grid=None 00109
|