original_docstring: 
      1-dim polynomial for testing in 1d.
      
docstring: 1-dim polynomial for testing in 1d.
docstring_tokens: 1 - dim polynomial for testing in 1d .
code: def poly_for_sensi(max_sensi_order, integrated=False, x=0):
      """
      1-dim polynomial for testing in 1d.
      """
  
      def fun(x):
          return (x - 2)**2 + 1
  
      def grad(x):
          return 2 * (x - 2)
  
      def hess(_):
          return 2
  
      return obj_for_sensi(fun, grad, hess,
                           max_sensi_order, integrated, x)
code_tokens: def poly_for_sensi ( max_sensi_order , integrated = False , x = 0 ) : def fun ( x ) : return ( x - 2 ) ** 2 + 1 def grad ( x ) : return 2 * ( x - 2 ) def hess ( _ ) : return 2 return obj_for_sensi ( fun , grad , hess , max_sensi_order , integrated , x )
short_docstring: 1-dim polynomial for testing in 1d.
short_docstring_tokens: 1 - dim polynomial for testing in 1d .
comment: """
      1-dim polynomial for testing in 1d.
      """