ó
î&]\c           @` sr   d  Z  d d l m Z m Z m Z y d d l Z Wn e k
 rE n Xd   Z d   Z e	 d k rn e   n  d S(   s7   Compute the Taylor series for zeta(x) - 1 around x = 0.i    (   t   divisiont   print_functiont   absolute_importNc      	   C` sy   g  } t  j d  ^ | j d  xI t d |   D]8 } t  j t  j d |  t  j |  } | j |  q3 WWd  QX| S(   Nid   g      ĝżi   i    (   t   mpmatht   workdpst   appendt   ranget   difft   zetat	   factorial(   t   Nt   coeffst   nt   coeff(    (    s>   lib/python2.7/site-packages/scipy/special/_precompute/zetac.pyt   zetac_series
   s    %c       	   C` sk   t  t  t d  }  g  |  D]$ } t j | d d d d d ^ q }  t  d j |  d  d  d    d  S(   Ni
   i   t	   min_fixedi    t	   max_fixeds   
i˙˙˙˙(   t   printt   __doc__R   R   t   nstrt   join(   R   t   x(    (    s>   lib/python2.7/site-packages/scipy/special/_precompute/zetac.pyt   main   s
    
.t   __main__(
   R   t
   __future__R    R   R   R   t   ImportErrorR   R   t   __name__(    (    (    s>   lib/python2.7/site-packages/scipy/special/_precompute/zetac.pyt   <module>   s   	
	