def __init__ (   self,
  x0 = 0.0,
  slope = 1.0,
  y0 = 0.0 
)

construct the function

Parameters:
x0 the x offset at which f(x) = y0
slope the slope
y0 the value of the function at x0

Definition at line 660 of file C2Functions.py.

00660                                                  :
00661         C2Function.__init__(self)
00662         self.x0=x0
00663         self.slope=slope
00664         self.y0=y0
00665         self.name="(%g * (x - %g) + %g)" % (slope, x0, y0)
00666     
    ##


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