construct the function c0 + c1 (x-x0) + c2 (x-x0)^2 + ...
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):
|