
    wgH              
          d Z ddlmZ ddlZddlmc mZ ddl	m
Z
 ddlmZmZmZmZ  ej                   dg      Z ej                   ddg      Z ej                   g d      Z ej                   g d	      Z ej                   g d
      Z ej                   g d      Z ej                   g d      Z ej                   g d      Z ej                   g d      Z ej                   g d      Zeeeeeeeeeeg
Zd Z G d d      Z G d d      Z G d d      Z G d d      Z  G d d      Z! G d d      Z" G d d      Z# G d d       Z$ G d! d"      Z% G d# d$      Z&y)%zTests for hermite module.

    )reduceN)polyval)assert_almost_equalassert_raisesassert_equalassert_      )r      )r   ir      )   r   ir      )r   x   r   i`r       )ir   i  r   i r   @   )r   ipr   i   r   ir      )	i  r   ir   i4  r   i r      )
r   i v  r   i r   i   r   i r   i   c                 0    t        j                  | d      S )Ngư>)tol)hermhermtrimxs    h/home/mcse/projects/flask/flask-venv/lib/python3.12/site-packages/numpy/polynomial/tests/test_hermite.pytrimr      s    ==%%    c                   $    e Zd Zd Zd Zd Zd Zy)TestConstantsc                 <    t        t        j                  ddg       y )Nr	   )r   r   
hermdomainselfs    r   test_hermdomainzTestConstants.test_hermdomain!   s    T__r1g.r   c                 :    t        t        j                  dg       y )Nr   )r   r   hermzeror#   s    r   test_hermzerozTestConstants.test_hermzero$   s    T]]QC(r   c                 :    t        t        j                  dg       y Nr	   )r   r   hermoner#   s    r   test_hermonezTestConstants.test_hermone'   s    T\\A3'r   c                 <    t        t        j                  ddg       y )Nr         ?)r   r   hermxr#   s    r   
test_hermxzTestConstants.test_hermx*   s    TZZ!R)r   N)__name__
__module____qualname__r%   r(   r,   r0    r   r   r   r      s    /)(*r   r   c                   X    e Zd Z ej                  ddd      Zd Zd Zd Zd Z	d Z
d	 Zy
)TestArithmetic   d   c                 X   t        d      D ]  }t        d      D ]  }d| d| }t        j                  t        ||      dz         }||xx   dz  cc<   ||xx   dz  cc<   t	        j
                  dg|z  dgz   dg|z  dgz         }t        t        |      t        |      |         y N   At i=, j=r	   r   err_msg)rangenpzerosmaxr   hermaddr   r   r$   ijmsgtgtress         r   test_hermaddzTestArithmetic.test_hermadd1       q 	@A1X @aSQC(hhs1ay1}-A!A!llA3q5A3;A<T#YS	3?@	@r   c                 X   t        d      D ]  }t        d      D ]  }d| d| }t        j                  t        ||      dz         }||xx   dz  cc<   ||xx   dz  cc<   t	        j
                  dg|z  dgz   dg|z  dgz         }t        t        |      t        |      |         y r;   )rA   rB   rC   rD   r   hermsubr   r   rF   s         r   test_hermsubzTestArithmetic.test_hermsub;   rM   r   c                    t        t        j                  dg      dg       t        t        j                  dg      ddg       t        dd      D ]:  }dg|z  dgz   }dg|dz
  z  |ddgz   }t        t        j                  |      |       < y )Nr   r	   r.   r<   )r   r   hermmulxrA   )r$   rG   serrJ   s       r   test_hermmulxzTestArithmetic.test_hermmulxE   s    T]]A3'!-T]]A3'!R1q! 	2A#a%1#+C#q1u+Ar
*Cs+S1	2r   c                    t        d      D ]  }dg|z  dgz   }t        j                  | j                  |      }t        d      D ]  }d| d| }dg|z  dgz   }t        j                  | j                  |      }t        j                  ||      }t        j                  | j                  |      }	t        t        |      ||z   dz   k(  |       t        |	||z  |         y )Nr<   r   r	   r=   r>   r?   )rA   r   hermvalr   hermmulr   lenr   )
r$   rG   pol1val1rH   rI   pol2val2pol3val3s
             r   test_hermmulzTestArithmetic.test_hermmulM   s    q 
	BA3q5A3;D<<-D1X BaSQC(s1us{||DFFD1||D$/||DFFD1D	QUQY.4#D$t)SAB
	Br   c                 n   t        d      D ]  }t        d      D ]  }d| d| }dg|z  dgz   }dg|z  dgz   }t        j                  ||      }t        j                  ||      \  }}t        j                  t        j                  ||      |      }	t        t        |	      t        |      |         y )Nr<   r=   r>   r   r	   r?   )rA   r   rE   hermdivrW   r   r   )
r$   rG   rH   rI   cicjrJ   quoremrK   s
             r   test_hermdivzTestArithmetic.test_hermdiv[   s    q 	@A1X @aSQC(SUaS[SUaS[ll2r*<<R0Sll4<<R#8#>T#YS	3?@	@r   c           	      V   t        d      D ]  }t        d      D ]  }d| d| }t        j                  |dz         }t        t        j
                  |g|z  t        j                  dg            }t	        j                  ||      }t        t        |      t        |      |         y )Nr<   r=   r>   r	   r?   )
rA   rB   aranger   r   rW   arrayhermpowr   r   )r$   rG   rH   rI   crJ   rK   s          r   test_hermpowzTestArithmetic.test_hermpowf   s    q 	@A1X @aSQC(IIa!e$T\\A3q5"((A3-@ll1a(T#YS	3?@	@r   N)r1   r2   r3   rB   linspacer   rL   rP   rT   r_   rf   rl   r4   r   r   r6   r6   .   s9    B3A@@2B	@@r   r6   c                       e Zd Z ej                  g d      Z ej                  dee      Z ej                  deee      Zej                  j                  d      dz  dz
  Z
 ee
g d      Zd Zd	 Zd
 Zd Zd Zy)TestEvaluation)g      @      ?g      ?i,j->ij
i,j,k->ijkr8   r<   r
   r	   )rp   g       @g      @c                    t        t        j                  g dg      j                  d       t	        j
                  dd      }t        D cg c]  }t        ||       }}t        d      D ]8  }d| }||   }t        j                  |dg|z  dgz         }t        |||       : t        d      D ]  }dg|z  }t	        j                  |      }t        t        j                  |dg      j                  |       t        t        j                  |ddg      j                  |       t        t        j                  |g d	      j                  |        y c c}w )
Nr	   r   r!   
   r=   r?   r8   r
   )r	   r   r   )r   r   rV   sizerB   rm   Hlistr   rA   r   rC   shape)	r$   r   rk   yrG   rI   rJ   rK   dimss	            r   test_hermvalzTestEvaluation.test_hermvalz   s$   T\\"qc*//3 KKA$)*qWQ]**r 	7A!+CA$C,,q1#a%1#+.CS#6		7 q 	AA3q5DAa!-33T:a!Q066=a3994@	A +s   
Ec                    | j                   \  }}}| j                  \  }}}t        t        t        j
                  ||d d | j                         ||z  }t	        j
                  ||| j                        }t        ||       t        j                  d      }	t	        j
                  |	|	| j                        }t        |j                  dk(         y Nr
   r
   r8   )r   ry   r   
ValueErrorr   	hermval2dc2dr   rB   onesr   rx   
r$   x1x2x3y1y2y3rJ   rK   zs
             r   test_hermval2dzTestEvaluation.test_hermval2d   s    VV
BVV
B 	j$.."b!fdhhG ennRTXX.C% GGFOnnQ488,		V#$r   c           	         | j                   \  }}}| j                  \  }}}t        t        t        j
                  |||d d | j                         ||z  |z  }t	        j
                  |||| j                        }t        ||       t        j                  d      }	t	        j
                  |	|	|	| j                        }t        |j                  dk(         y r}   )r   ry   r   r   r   	hermval3dc3dr   rB   r   r   rx   r   s
             r   test_hermval3dzTestEvaluation.test_hermval3d   s    VV
BVV
B 	j$.."b"Ra&$((K eBhnnRR2C% GGFOnnQ1dhh/		V#$r   c                 h   | j                   \  }}}| j                  \  }}}t        j                  d||      }t	        j
                  ||| j                        }t        ||       t        j                  d      }	t	        j
                  |	|	| j                        }t        |j                  dk(         y )Nrq   r~   )r
   r8   r
   r8   )r   ry   rB   einsumr   
hermgrid2dr   r   r   r   rx   r   s
             r   test_hermgrid2dzTestEvaluation.test_hermgrid2d   s    VV
BVV
B ii	2r*oob"dhh/C% GGFOooaDHH-		X%&r   c                 n   | j                   \  }}}| j                  \  }}}t        j                  d|||      }t	        j
                  |||| j                        }t        ||       t        j                  d      }	t	        j
                  |	|	|	| j                        }t        |j                  dk(         y )Nrr   r~   )r
   r8   r
   r8   r
   r8   )r   ry   rB   r   r   
hermgrid3dr   r   r   r   rx   r   s
             r   test_hermgrid3dzTestEvaluation.test_hermgrid3d   s    VV
BVV
B iib"b1oob"b$((3C% GGFOooaAtxx0		X%&r   N)r1   r2   r3   rB   ri   c1dr   r   r   randomr   r   ry   r{   r   r   r   r   r4   r   r   ro   ro   p   s    
"((>
"C
"))IsC
(C
"))L#sC
0C 			 "Q&A< AA*%"%"''r   ro   c                       e Zd Zd Zd Zy)TestIntegralc                 2
   t        t        t        j                  dgd       t        t        t        j                  dgd       t        t        t        j                  dgdddg       t        t        t        j                  dgdg       t        t        t        j                  dgdg       t        t        t        j                  dgd       t        dd	      D ]6  }dg|dz
  z  dgz   }t        j                  dg||
      }t        |ddg       8 t        d	      D ]  }|dz   }dg|z  dgz   }|gdg|z  z   d|z  gz   }t        j                  |      }t        j                  |d|g
      }t        j                  |      }t        t        |      t        |              t        d	      D ]`  }|dz   }dg|z  dgz   }t        j                  |      }t        j                  |d|gd      }t        t        j                  d|      |       b t        d	      D ]  }|dz   }dg|z  dgz   }|gdg|z  z   d|z  gz   }t        j                  |      }t        j                  |d|gd      }t        j                  |      }t        t        |      t        |              t        d	      D ]~  }t        dd	      D ]m  }	dg|z  dgz   }|d d  }t        |	      D ]  }t        j                  |d      } t        j                  ||	      }t        t        |      t        |             o  t        d	      D ]  }t        dd	      D ]  }	dg|z  dgz   }|d d  }t        |	      D ]  }t        j                  |d|g
      } t        j                  ||	t        t        |	            
      }t        t        |      t        |               t        d	      D ]  }t        dd	      D ]  }	dg|z  dgz   }|d d  }t        |	      D ]  }t        j                  |d|gd      } t        j                  ||	t        t        |	            d      }t        t        |      t        |               t        d	      D ]  }t        dd	      D ]  }	dg|z  dgz   }|d d  }t        |	      D ]  }t        j                  |d|gd      } t        j                  ||	t        t        |	            d      }t        t        |      t        |               y )Nr   r.   r!   r	   )lbnd)sclaxisr
   r<   )mk)r   r   r   )r   r   r   r   )r   	TypeErrorr   hermintr   rA   r   	poly2herm	herm2polyr   rV   list)
r$   rG   r   rK   r   polrJ   hermpolr   rH   s
             r   test_hermintzTestIntegral.test_hermint   s   isB7j$,,R8j$,,QA?j$,,1#>j$,,!=is< q! 	.AQUqc!A,,sa1-CaW-	. q 	6Aa%C#a%1#+C#A+3'CnnS)Gll7aA37G..)CS	495	6 q 	>Aa%C#a%1#+CnnS)Gll7aA3R@GR 91=	> q 	6Aa%C#a%1#+C#A+3'CnnS)Gll7aA3A>G..)CS	495	6 q 	:A1a[ :c!eqck!fq 1A,,sa0C1ll3!,#DItCy9:	: q 	:A1a[ :c!eqck!fq 8A,,saA37C8ll3!tE!H~>#DItCy9:	: q 	:A1a[ :c!eqck!fq AA,,saA3R@CAll3!tE!H~BG#DItCy9:	: q 	:A1a[ :c!eqck!fq ?A,,saA3A>C?ll3!tE!H~1E#DItCy9:	:r   c           	         t         j                  j                  d      }t        j                  |j                  D cg c]  }t	        j
                  |       c}      j                  }t	        j
                  |d      }t        ||       t        j                  |D cg c]  }t	        j
                  |       c}      }t	        j
                  |d      }t        ||       t        j                  |D cg c]  }t	        j
                  |d       c}      }t	        j
                  |dd      }t        ||       y c c}w c c}w c c}w )Nr8   r   r   r   r	   r8   )r   )r   r   )rB   r   vstackTr   r   r   r$   r   rk   rJ   rK   s        r   test_hermint_axiszTestIntegral.test_hermint_axis#  s    iiv&ii#%%8Qa89;;ll3Q'C%ii#6Qa67ll3Q'C%iis;!a1-;<ll3!!,C% 9 7 <s   E E9EN)r1   r2   r3   r   r   r4   r   r   r   r      s    Q:f&r   r   c                       e Zd Zd Zd Zy)TestDerivativec           	         t        t        t        j                  dgd       t        t        t        j                  dgd       t        d      D ]A  }dg|z  dgz   }t        j                  |d      }t        t        |      t        |             C t        d      D ]g  }t        dd      D ]V  }dg|z  dgz   }t        j                  t        j                  ||      |      }t        t        |      t        |             X i t        d      D ]i  }t        dd      D ]X  }dg|z  dgz   }t        j                  t        j                  ||d      |d      }t        t        |      t        |             Z k y )	Nr   r.   r!   r<   r	   r   r
   )r   r   )
r   r   r   hermderr   rA   r   r   r   r   )r$   rG   rJ   rK   rH   s        r   test_hermderzTestDerivative.test_hermder6  sF   isB7j$,,R8 q 	/A#a%1#+C,,sa(CcDI.	/ q 	:A1a[ :c!eqckll4<<q#9Q?#DItCy9:	: q 	:A1a[ :c!eqckll4<<qa#@A2N#DItCy9:	:r   c                    t         j                  j                  d      }t        j                  |j                  D cg c]  }t	        j
                  |       c}      j                  }t	        j
                  |d      }t        ||       t        j                  |D cg c]  }t	        j
                  |       c}      }t	        j
                  |d      }t        ||       y c c}w c c}w )Nr   r   r   r	   )rB   r   r   r   r   r   r   r   s        r   test_hermder_axisz TestDerivative.test_hermder_axisO  s    iiv&ii#%%8Qa89;;ll3Q'C%ii#6Qa67ll3Q'C% 9 7s   C' C,N)r1   r2   r3   r   r   r4   r   r   r   r   4  s    :2
&r   r   c                   `    e Zd Zej                  j	                  d      dz  dz
  Zd Zd Zd Zy)
TestVanderrs   r
   r	   c                    t        j                  d      }t        j                  |d      }t	        |j
                  dk(         t        d      D ]1  }dg|z  dgz   }t        |d|f   t        j                  ||             3 t        j                  ddgddgdd	gg      }t        j                  |d      }t	        |j
                  d
k(         t        d      D ]1  }dg|z  dgz   }t        |d|f   t        j                  ||             3 y )Nr8   r   r   r   r	   .r
   r<      )r8   r
   r   )
rB   rh   r   
hermvanderr   rx   rA   r   rV   ri   )r$   r   vrG   coefs        r   test_hermvanderzTestVander.test_hermvander`  s    IIaLOOAq!6!"q 	BA3q5A3;D#q&	4<<4+@A	B
 HHq!fq!fq!f-.OOAq!9$%q 	BA3q5A3;D#q&	4<<4+@A	Br   c                    | j                   \  }}}t        j                  j                  d      }t        j                  ||ddg      }t        j
                  |||      }t        j                  ||j                        }t        ||       t        j                  |g|gddg      }t        |j                  dk(         y )Nr~   r	   r
   )r	   r<   r   )r   rB   r   r   hermvander2dr   dotflatr   r   rx   r$   r   r   r   rk   vanrJ   rK   s           r   test_hermvander2dzTestVander.test_hermvander2dq  s    VV
BIIV$BA/nnRQ'ffS!&&!C% rdQF3		Y&'r   c                    | j                   \  }}}t        j                  j                  d      }t        j                  |||g d      }t        j
                  ||||      }t        j                  ||j                        }t        ||       t        j                  |g|g|gg d      }t        |j                  dk(         y )N)r
   r8   r   )r	   r
   r8   )r	   r<      )r   rB   r   r   hermvander3dr   r   r   r   r   rx   r   s           r   test_hermvander3dzTestVander.test_hermvander3d~  s    VV
BIIY'BI6nnRR+ffS!&&!C% rdRD)<		Z'(r   N)	r1   r2   r3   rB   r   r   r   r   r   r4   r   r   r   r   \  s0    
		 "Q&AB"()r   r   c                       e Zd Zd Zy)TestFittingc           	      V   d }d }t        t        t        j                  dgdgd       t        t        t        j                  dggdgd       t        t        t        j                  g dgd       t        t        t        j                  dgdgggd       t        t        t        j                  ddgdgd       t        t        t        j                  dgddgd       t        t        t        j                  dgdgddgg       t        t        t        j                  dgdgdddg       t        t        t        j                  dgdgdg       t        t        t        j                  dgdgg d       t        t        t        j                  dgdgg        t        j                  dd      } ||      }t        j                  ||d	      }t        t        |      d
       t        t        j                  ||      |       t        j                  ||g d      }t        t        |      d
       t        t        j                  ||      |       t        j                  ||d
      }t        t        |      d       t        t        j                  ||      |       t        j                  ||g d      }t        t        |      d       t        t        j                  ||      |       t        j                  ||g d      }t        t        |      d       t        t        j                  ||      |       t        j                  |t        j                  ||g      j                  d	      }t        |t        j                  ||g      j                         t        j                  |t        j                  ||g      j                  g d      }t        |t        j                  ||g      j                         t        j                  |      }|j                         }	d|dd d<   d|dd d<   t        j                  ||	d	|      }
t        |
|       t        j                  ||	g d|      }
t        |
|       t        j                  |t        j                  |	|	g      j                  d	|      }t        |t        j                  ||g      j                         t        j                  |t        j                  |	|	g      j                  g d|      }t        |t        j                  ||g      j                         g d}t        t        j                  ||d      ddg       t        t        j                  ||ddg      ddg       t        j                  dd      } ||      }t        j                  ||d
      }t        t        j                  ||      |       t        j                  ||g d      }t        t        j                  ||      |       t        ||       y )Nc                     | | dz
  z  | dz
  z  S )Nr	   r
   r4   r   s    r   fz#TestFitting.test_hermfit.<locals>.f  s    a!e9a!e$$r   c                     | dz  | dz  z   dz   S )Nr   r
   r	   r4   r   s    r   f2z$TestFitting.test_hermfit.<locals>.f2  s    a4!Q$;?"r   r	   r!   r   r
   )w)r
   r!   r   r8   r   )r   r	   r
   r8   r<   )r   r	   r
   r8   r   )r
   r8   r   r	   r   )r	   y              ?r!   y             r.   )r   r
   r   )r   r   r   hermfitr   rB   rm   r   rX   r   rV   ri   r   
zeros_likecopy)r$   r   r   r   ry   coef3coef4coef2dr   ywwcoef3wcoef2dcoef1coef2s                 r   test_hermfitzTestFitting.test_hermfit  s   	%	# 	j$,,aS"=iuqc1=irA3:isqcUGQ?i1vsA>isQFA>isQCseDisQCq!fEj$,,aS2%@j$,,aS*EisQC< KK1aDQ1%SZ#DLLE2A6Q<0SZ#DLLE2A6Q1%SZ#DLLE2A6Q?3SZ#DLLE2A6Q?3SZ#DLLE2A6a1a&!1!3!3Q7FBHHeU^$<$>$>?a1a&!1!3!3\BFBHHeU^$<$>$>?MM!VVX!$Q$!$Q$aQ!,FE*a\Q7FE*,,q"((B8"4"6"6Q?GRXXuen%=%?%?@,,q"((B8"4"6"6JGRXXuen%=%?%?@ DLLAq1Ar7;DLLA1v6B@KKAqEQ1%DLLE2A6Q9-DLLE2A6E5)r   N)r1   r2   r3   r   r4   r   r   r   r     s    H*r   r   c                       e Zd Zd Zd Zd Zy)TestCompanionc                     t        t        t        j                  g        t        t        t        j                  dg       y r*   )r   r   r   hermcompanionr#   s    r   test_raiseszTestCompanion.test_raises  s(    j$"4"4b9j$"4"4qc:r   c                     t        dd      D ]9  }dg|z  dgz   }t        t        j                  |      j                  ||fk(         ; y )Nr	   r<   r   )rA   r   r   r   rx   )r$   rG   r   s      r   test_dimensionszTestCompanion.test_dimensions  sJ    q! 	>A3q5A3;DD&&t,22q!f<=	>r   c                 P    t        t        j                  ddg      d   dk(         y )Nr	   r
   )r   r   g      п)r   r   r   r#   s    r   test_linear_rootzTestCompanion.test_linear_root  s#    ""Aq6*40D89r   N)r1   r2   r3   r   r   r   r4   r   r   r   r     s    ;>
:r   r   c                       e Zd Zd Zy)	TestGaussc                    t        j                  d      \  }}t        j                  |d      }t        j                  |j
                  |z  |      }dt        j                  |j                               z  }|d d d f   |z  |z  }t        |t        j                  d             t        j                  t        j                        }t        |j                         |       y )Nr9   c   r	   )r   	hermgaussr   rB   r   r   sqrtdiagonalr   eyepisum)r$   r   r   r   vvvdrJ   s          r   test_100zTestGauss.test_100  s    ~~c"1
 OOAr"VVACC!GQrwwr{{}%%4[2"Bs, ggbeenAEEGS)r   N)r1   r2   r3   r   r4   r   r   r   r     s    *r   r   c                   6    e Zd Zd Zd Zd Zd Zd Zd Zd Z	y)	TestMiscc           	         t        j                  g       }t        t        |      dg       t	        dd      D ]  }t        j                  t        j                  t
        j                   dd|z  dz         dd d         }t        j                  |      }t        j                  ||      }d}t        t        |      |dz   k(         t        t        j                  |      d   d       t        ||        y )Nr	   r<   r   r
   r!   )r   hermfromrootsr   r   rA   rB   cosrm   r   rV   r   rX   r   )r$   rK   rG   rootsr   rJ   s         r   test_hermfromrootszTestMisc.test_hermfromroots  s      $DIs+q! 	*AFF2;;vq!A#':14a4@AE$$U+C,,uc*CCCHA%&s 3B 7;S)	*r   c                 d   t        t        j                  dg      g        t        t        j                  ddg      dg       t        dd      D ]_  }t	        j
                  dd|      }t        j                  t        j                  |            }t        t        |      t        |             a y )Nr	   g      r
   r<   r!   )r   r   	hermrootsrA   rB   rm   r   r   )r$   rG   rJ   rK   s       r   test_hermrootszTestMisc.test_hermroots	  s    DNNA3/4DNNAq62SE:q! 	6A++b!Q'C..!3!3C!89CS	495	6r   c                    g d}t        t        t        j                  |d       t	        t        j                  |      |d d        t	        t        j                  |d      |d d        t	        t        j                  |d      dg       y )N)r
   r!   r	   r   r!   r	   r7   r
   r   )r   r   r   r   r   )r$   r   s     r   test_hermtrimzTestMisc.test_hermtrim  sh     	j$--r: 	T]]4($s)4T]]4+T#2Y7T]]4+aS1r   c                 H    t        t        j                  dd      ddg       y )Nr8   r   r
   )r   r   hermliner#   s    r   test_hermlinezTestMisc.test_hermline  s    T]]1a(1a&1r   c                     t        d      D ]0  }t        t        j                  dg|z  dgz         t        |          2 y Nru   r   r	   )rA   r   r   r   rw   r$   rG   s     r   test_herm2polyzTestMisc.test_herm2poly  s:    r 	GAs1us{ ;U1XF	Gr   c                     t        d      D ]0  }t        t        j                  t        |         dg|z  dgz          2 y r  )rA   r   r   r   rw   r  s     r   test_poly2hermzTestMisc.test_poly2herm#  s:    r 	GAuQx 81#a%1#+F	Gr   c                     t        j                  ddd      }t        j                  |dz         }t        j                  |      }t        ||       y )Nr<      r
   )rB   rm   expr   
hermweightr   )r$   r   rJ   rK   s       r   test_weightzTestMisc.test_weight'  s?    KKAr"ffadUmooa C%r   N)
r1   r2   r3   r   r   r   r  r  r	  r  r4   r   r   r   r     s'    
*6	22GG&r   r   )'__doc__	functoolsr   numpyrB   numpy.polynomial.hermite
polynomialhermiter   numpy.polynomial.polynomialr   numpy.testingr   r   r   r   ri   H0H1H2H3H4H5H6H7H8H9rw   r   r   r6   ro   r   r   r   r   r   r   r   r4   r   r   <module>r"     sc     ' ' /  RXXqc]RXXq!fRXXjRXXnRXX!"RXX&'RXX,-RXX34RXX;<RXX?@	RRRRR0&* *?@ ?@D[' ['|c& c&L%& %&P-) -)`J* J*Z: :* *&0& 0&r   