def __init__ (   self,
  coefs,
  x0 = 0.0 
)

construct the function c0 + c1 (x-x0) + c2 (x-x0)^2 + ...

Parameters:
coefs the coefficients c_n (first coefficient in list is the conatant term)
x0 the center for expansion of the polyomial

Definition at line 758 of file C2Functions.py.

00758                                      :
00759         "initialize the polynomial with coefficients specified, expanding around xcenter.  Constant coefficient is coefs[0]"
00760         
00761         self.coefs=tuple(coefs)
00762         self.rcoefs=tuple(enumerate(self.coefs))[::-1] #record power index with coef
00763         self.xcenter=x0
00764     
    def value_with_derivatives(self, x):


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