parameters: (self, x)
return_statement: return sum(A * self.coeff_)
docstring: Yield function call.
docstring_summary: Yield function call.
docstring_tokens: Yield function call .
function: def __call__(self, x):
          """Yield function call."""
          nc = len(self.coeff_) / 2
          A = np.ones(nc * 2) * 0.5
          A[1] = 3. * x
          A[2::2] = np.sin(2.0 * np.pi * np.arange(1, nc) *
                           (x - self.xmin_) / self.xSpan_)
          A[3::2] = np.cos(2.0 * np.pi * np.arange(1, nc) *
                           (x - self.xmin_) / self.xSpan_)
          return sum(A * self.coeff_)
function_tokens: def __call__ ( self , x ) : nc = len ( self . coeff_ ) / 2 A = np . ones ( nc * 2 ) * 0.5 A [ 1 ] = 3. * x A [ 2 : : 2 ] = np . sin ( 2.0 * np . pi * np . arange ( 1 , nc ) * ( x - self . xmin_ ) / self . xSpan_ ) A [ 3 : : 2 ] = np . cos ( 2.0 * np . pi * np . arange ( 1 , nc ) * ( x - self . xmin_ ) / self . xSpan_ ) return sum ( A * self . coeff_ )