+
    /iB                     &   ^ RI Ht ^ RIt^ RIHtHtHt ^ RIt^ RI	t	^ RI
HtHtHt R]P                  ! ]P                  4      P                   ,          t]P$                  ! R^RR7      t]P(                  ! R^ ^
RR	7      t]P,                  ! ]RRR1,          ) ^ .].4      t]P.                  P1                  R
]].4      ]P.                  P1                  R]P2                  ]P                  ]P4                  ]P6                  .4      R 4       4       t]P.                  P1                  R
]].4      ]P.                  P1                  R]P:                  ]P<                  ]P>                  .4      R 4       4       t  ! R R4      t! ! R R4      t" ! R R4      t#R# )    )	factorialN)assert_allcloseassert_equalassert_array_less)AAAFloaterHormannInterpolatorBarycentricInterpolatorg     @  num  )baser   methoddtypec                 b   \         P                  ! V4      P                  R ,          ^d,          pV \        J d
   V^d,          p\         P                  P                  R4      p\         P                  ! R^VR7      pV ! V\         P                  ! V4      4      pVP                  R^^dR7      P                  V4      p\        V! V4      \         P                  ! V4      VR7       V! V4      P                  V8X  g   Q hV \        J dl   VP                  P                  V8X  g   Q hVP                  P                  V8X  g   Q hVP                  P                  VP                   P                  8X  g   Q hVP"                  P                  V8X  g   Q hVP%                  4       P                  \         P&                  ! VR4      8X  g   Q hVP)                  4       P                  \         P&                  ! VR4      8X  g   Q hVP+                  4       P                  \         P&                  ! VR4      8X  g   Q hR# )g      ?l   dwr   sizertol              ?N)npfinfoepsr   randomdefault_rnglinspacesinuniformastyper   r   r   support_pointssupport_valueserrorsrealweightspolesresult_typeresiduesroots)r   r   r   rngzrz2s   &&     h/var/www/html/photoedit/myenv/lib/python3.14/site-packages/scipy/interpolate/tests/test_bary_rational.pytest_dtype_preservationr0   (   s    88E?$&,D++
))

 1
2C
B'Aq"&&)A	R	%	,	,U	3BAbE266":D1R5;;%}%%...%%...xx~~---99??e###779??bnnUB7777::<r!::::779??bnnUB7777    c                    \         P                  ! ^
VR7      pV ! W"4      pVP                  P                  \         P                  ! VR4      8X  g   Q hV \
        J d   VP                  P                  \         P                  ! VR4      8X  g   Q hVP                  P                  \         P                  ! VR4      8X  g   Q hVP                  P                  \         P                  ! VR4      8X  g   Q hVP                  4       P                  \         P                  ! VR4      8X  g   Q hVP                  4       P                  \         P                  ! VR4      8X  g   Q hVP                  4       P                  \         P                  ! VR4      8X  g   Q hV! V4      P                  \         P                  ! VR4      8X  g   Q hR# )
   r         ?r   N)r   aranger&   r   r(   r   r"   r#   r$   r'   r)   r*   )r   r   r,   r-   s   &&  r/   test_integer_promotionr6   A   s<    			"E"AqA99??bnnUC8888}%%s)CCCC%%s)CCCCxx~~s!;;;;779??bnnUB7777::<r!::::779??bnnUB7777Q4::s3333r1   c                   f  a  ] tR t^Rt o R tR tR tR tR tR t	R t
R tR	 tR
 t]P                  P!                  RR RR3R RR3R R^ 3R R^ 3R R^ 3R RR3R RR3.4      R 4       tR t]P                  P!                  RR R R R  R! R" R# R$ R% .	4      R& 4       tR' tR( tR) tR*tV tR+# ),TestAAAc                D   \         P                  ! \        R R7      ;_uu_ 4        \        ^ .^^.4       RRR4       \         P                  ! \        RR7      ;_uu_ 4        \        ^ .^ ..^.^..4       RRR4       \         P                  ! \        RR7      ;_uu_ 4        \        \        P
                  .^.4       RRR4       \         P                  ! \        4      ;_uu_ 4        \        ^.^.RR7       RRR4       \         P                  ! \        RR7      ;_uu_ 4        \        ^.^.RR7       RRR4       R#   + '       g   i     EL; i  + '       g   i     L; i  + '       g   i     L; i  + '       g   i     L; i  + '       g   i     R# ; i)	 `x` be of size 2 but got size 1.matchNz1-Dfiniter4   	max_termsgreaterr   )pytestraises
ValueErrorr   r   inf	TypeErrorselfs   &r/   test_input_validationTestAAA.test_input_validationS   s    ]]:-OPPaV Q]]:U33!qc
aS1#J' 4]]:X661# 7]]9%%aSC( &]]:Y77aSB' 87 QPP3366%%777s;   E!E"E()E;&FE	E%	(E8	;F	F	c                    \         P                  ! \        R R7      ;_uu_ 4        \        \        \
        P                  ! \        4      ^R7       RRR4       R#   + '       g   i     R# ; i)z
AAA failedr;   r>   N)rA   warnsRuntimeWarningr   UNIT_INTERVALr   exprF   s   &r/   test_convergence_errorTestAAA.test_convergence_error_   s7    \\.==rvvm4C >===s   +AA+	c                   \         P                  ! \        4      p\        \        V4      p\	        V! \        4      V\
        R 7       \        V! \         P                  4      \         P                  4       \         P                  ! V! \         P                  4      4      '       g   Q hVP                  P                  p\        \        VRR7      pVP                  P                  V8  g   Q hR# )atolgMbP?r   N)r   rN   rM   r   r   TOLr   nanisfiniterD   r"   r   )rG   fr-   m1s   &   r/   test_expTestAAA.test_expe   s    FF=!q!-(!#6QrvvY'{{1RVV9%%%%""qt,$$r)))r1   c                p   \         P                  ! \         P                  \        ,          4      p\	        \        V4      p\        V! \        4      V^
\        ,          RR7       \        \         P                  ! \         P                  ! VP                  4       4      4      ^ RR7       \        \         P                  ! \         P                  ! VP                  4       R,
          4      4      ^ \        R7       \         P                  ! \         P                  ! VP                  4       4      4      R8  g   Q hR# )r3   gz]ʂ>rS   r   gLa㧝=rR         ?vIh%<=N)r   tanpirM   r   r   rT   minabsr*   r'   r)   rG   rW   r-   s   &  r/   test_tanTestAAA.test_tanq   s    FF255=()q!-(!"s(Hrvvaggi0115Arvvaggi#o67EvvbffQZZ\*+e333r1   c                   \         P                  ! ^ ^.4      p\         P                  ! ^^.4      p\        WRR7      p\        V! V4      V\        R7       \        VP                  4       R4       \        VP                  4       R4       \        VP                  4       R
4       \        VP                  V4       \        VP                  V4       \        VP                  RR.4       \        VP                  ^^ .4       \         P                  ! . RO4      p\         P                  ! . RO4      p\        WRR7      p\        V! V4      V\        R7       \        \         P                  ! VP                  4       4      \         P                  ! RR.4      4       \        \         P                  ! VP                  4       4      \         P                  ! RR.4      4       \        \         P                  ! VP                  4       4      \         P                  ! ^^.4      4       \        VP                  V4       \        VP                  V4       \        VP                  . RO4       \        VP                  . RO4       R	# )r   r^   r   rR   r]   g      ?g;f?gȢ<?gÙt?NgUUUUUU?)r         )rg   r   r   gfMvg7п)3Ey?ri   ri   )rg   rg   r   )r   arrayr   r   rT   r'   r)   r*   r   r"   r#   r&   r$   sort)rG   r,   rW   r-   s   &   r/   test_short_casesTestAAA.test_short_cases{   s    HHaVHHaV5!!ac*	3'

d+	3'Q%%q)Q%%q)		$57H#IJQXX1v& HHYHHY5!!ac*	*!24E FG	I

-!35G HI	K	*BGGQFO<Q%%q)Q%%q)		 $7 	8QXXy)r1   c                   \         P                  ! R R4      p\         P                  ! V4      R,          p\        W4      p\        V^R,          V,          P	                  \         P
                  4      4      p\        VRV,          P	                  \         P
                  4      4      p\        V! R4      RV! R4      ,          4       \        V! R4      ^R,          V! R4      ,          4       R# )g333333?g      ?i7  y        ?gffffff?N      ?      ?g      ,)r   r   rN   r   r!   
complex128r   )rG   r,   rW   r1r2r3s   &     r/   test_scale_invarianceTestAAA.test_scale_invariance   s    KKS!FF1I YQVaZ''67Wq[((78RXwD12RWafr#w./r1   c                   \         P                  P                  R 4      pVP                  R4      RVP                  R4      ,          ,           pR p\	        W#! V4      4      p\        V! ^ 4      V! ^ 4      \        R7       R# )l   (pg98B i'  y              @c                 f    \         P                  ! ^V ,
          4      ^V ^,          ,           ,          # )   )r   logr,   s   &r/   rW    TestAAA.test_log_func.<locals>.f   s!    66!a%=A1H--r1   rR   N)r   r   r   standard_normalr   r   rT   )rG   r+   r,   rW   r-   s   &    r/   test_log_funcTestAAA.test_log_func   sf    ii##$78&c.A.A%.H)HH	. 1Q4L!ad-r1   c                    \         P                  ! R^4      p\        V\        P                  P                  V4      4      p\        V! R4      \        P                  P                  R4      RR7       R# )rg   g)\(?V瞯<rR   Nr   )r   r   r   scipyspecialgammar   rG   r,   r-   s   &  r/   test_infinite_dataTestAAA.test_infinite_data   sL    KKA5==&&q)*$!4!4T!:Gr1   c                Z   \         P                  ! ^ ^4      p\         P                  ! RR7      ;_uu_ 4        \         P                  ! V4      V,          pRRR4       \	        VX4      p\        V! ^4      \         P                  ! ^4      ^,          RR7       R#   + '       g   i     LM; i)r   ignore)invalidNr   rR   )r   r   errstater   r   r   )rG   xrW   r-   s   &   r/   test_nanTestAAA.test_nan   sg    KK2[[**q	AA +1I!bffQi!m%8 +*s   BB*	c                V   \         P                  ! R^RR7      p\        V\         P                  ! V4      V,          4      p\         P                  ! \         P
                  ! VP                  4       4      R8  4      p\        VP                  4       V,          ^RR7       \        VR\        P                  P                  V4      ,          4      p\         P                  ! \        VP                  4       R	,
          4      R8  4      p\        VP                  4       V,          R
RR7       R# )g1Zd?i  r   :0yE>r   rR   Ng1Zdro   r   y            )r   r   r   rN   flatnonzerorb   r'   r   r)   r   r   r   )rG   r   r-   iis   &   r/   test_residuesTestAAA.test_residues   s    KKs+266!9q=!^^BFF1779-45

R(!%8Femm11!445^^C	R 01D89

R('>r1   zfunc,atol,rtolc                J    \         P                  ! V R ,           R,           4      # )r]   y        {Gz?r   rb   r   s   &r/   <lambda>TestAAA.<lambda>   s    C%)@r1   g-a=gHz>c                J    \         P                  ! ^RV ,
          ,          4      # )rg   g?)r   r   r   s   &r/   r   r      s    4!8)=r1   vIh%L=c                J    \         P                  ! RV ^,          ,          4      # rg   r   r   rN   r   s   &r/   r   r      s    AqD	):r1   g8J==c                J    \         P                  ! RV ^,          ,          4      # )d   ir   r   s   &r/   r   r      s    QT	):r1   g-=c                J    \         P                  ! RRV ,
          ,          4      # )r3   g333333?r   r   s   &r/   r   r      s    S1W)>r1   +=c                f    ^^\         P                  ! ^dV R,           ,          4      ,           ,          # )rg   r]   r   r   s   &r/   r   r      s    AbffS!c'].C,C)Dr1   c                <    \         P                  ! V R ,
          4      # )gffffff?r   r   s   &r/   r   r      s    D)9r1   ư>c                    \         P                  ! R R7      ;_uu_ 4        V! \        4      pRRR4       \        \	        \
        V! \
        4      4      ! \        4      XW#R7       R#   + '       g   i     LB; i)r   )divideNr\   )r   r   PTSr   r   rM   )rG   funcrS   r   rW   s   &&&& r/   test_basic_functionsTestAAA.test_basic_functions   sJ     [[))S	A *M4+>?D	1 *)s   A''A7	c                .   R  p\        \        V! \        4      4      p\        \        P                  ! VP                  4       VP                  4       ,           4      RRR7       R p\        \        V! \        4      4      p\        VP                  4       P                  4       ^
RR7       \        \        \        P                  ! ^
\        P                  ,          \        ,          4      4      p\        \        P                  ! \        P                  ! VP                  4       4      4      ^,          RRR7       R p\        \        V! \        4      4      p\        VP                  4       ^ ,          VP                  4       ^ ,          ,          R	RR7       R# )
c                 h    V ^,           V ^,           ,          V ^,           V ^,           ,          ,          # rg    rz   s   &r/   rW   ,TestAAA.test_poles_zeros_residues.<locals>.f   s%    aCAaC=QqSQqSM22r1   -q=rR   c                 L    ^^V ,           ,          ^V R,
          ,          ,           # )rh   y               @r   rz   s   &r/   rW   r      s    a!e9q!b&z))r1   r   g?c                 0    V R,
          V ^,           ,          # )   y      @      @r   rz   s   &r/   rW   r      s    L1q5))r1   Nr   y            )r   rM   r   r   sumr'   r*   r)   prodr   r`   rk   rb   rc   s   &  r/   test_poles_zeros_residues!TestAAA.test_poles_zeros_residues   s    	3q/0qwwy177945sG	*q/0

))+Rd;rvvbh}&<=>qwwy 1226%H	*q/0	!QWWYq\1EFr1   r   c                .    \         P                  ! V 4      # N)r   
zeros_likerz   s   &r/   r   r      s    a(8r1   c                    V # r   r   rz   s   &r/   r   r      s    Ar1   c                    R V ,          # )r   r   rz   s   &r/   r   r      s    QSTUQUr1   c                "    V ^,          V ,           # rh   r   rz   s   &r/   r   r      s    1qr1   c                "    V ^,          V ,           # r   r   rz   s   &r/   r   r      s    AqD1Hr1   c                "    ^RV ,           ,          # )rg   g?r   rz   s   &r/   r   r      s    37r1   c                0    ^^RV ,          ,           ,          # )rg   r   r   rz   s   &r/   r   r      s    q!bd(|r1   c                >    ^^V ,           V ^,          ,           ,          # r   r   rz   s   &r/   r   r      s    1q51a4<(8r1   c                0    ^RV ^,          ,           ,          # )rg   g)\(?r   rz   s   &r/   r   r      s    AtaQRd{Or1   c                z    \        \        \        V! \        4      4      ! \        4      V! \        4      R R7       R# )r   rR   N)r   r   rM   r   )rG   r   s   &&r/    test_polynomials_and_reciprocals(TestAAA.test_polynomials_and_reciprocals   s(     	M4+>?DS		/r1   c                   \         P                  ! \         P                  ! RR R\         P                  ,          ,           RR7      4      p\	        V\         P
                  ! \         P                  V,          ^,          4      4      p\        \         P                  ! \         P                  ! VP                  4       4      4      R,          . R	ORR7       R# )
r]                 .@r
   r   :N   Ng1E2>r   N      )rg   rg   r   r   )
r   rN   r   r`   r   r_   r   rk   rb   r'   r   s   &  r/   test_spiralTestAAA.test_spiral   ss    FF2;;tS3ruu9_$?@266"%%'!)$%qwwy 12264Pr1   c           
        \         P                  ! \         P                  ! RR R\         P                  ,          ,           RR7      4      p\        P
                  ! \        4      ;_uu_ 4        \        V\         P                  ! \         P                  V,          ^,          4      ^ ^<RR7      pRRR4       \         P                  ! \         P                  ! XP                  4       4      R8  4      p\        P
                  ! \        4      ;_uu_ 4        VP                  4       ^8  g   Q h RRR4       \         P                  ! \         P                  ! VP                  4       4      R8  4      V8  g   Q h\        V! V4      \         P                  ! \         P                  V,          ^,          4      RR	R
7       R#   + '       g   i     EL; i  + '       g   i     L; i)r]   r   r
   r   F)r   r?   clean_upNr   gAfc=gAfc=r\   r   )r   rN   r   r`   rA   rK   rL   r   r_   r   rb   r)   r   r   )rG   r,   r-   
n_spuriouss   &   r/   test_spiral_cleanupTestAAA.test_spiral_cleanup   s   FF2;;tS3ruu9_$?@ \\.))ArvvbeeAgai(qBOA *VVBFF1::<0589
\\.))::<1$$$ * vvbffQZZ\*U23j@@@!bffRUU1WQY/e%H *)) *)s   ,AF<G<G	G 	c                    \         P                  ! R^ R4      p\         P                  ! V4      p\        W4      p\         P                  ! R^ R4      p\	        V! V4      \         P                  ! V4      RR7       R# )   i,  r   g?̔>r   N)r   logspacesqrtr   r   )rG   r,   rW   r-   zzs   &    r/   test_diag_scalingTestAAA.test_diag_scaling  sT    KKQ$GGAJI[[a%"rwwr{6r1   r   N)__name__
__module____qualname____firstlineno__rH   rO   rY   rd   rl   rt   r}   r   r   r   rA   markparametrizer   r   r   r   r   r   __static_attributes____classdictcell____classdict__s   @r/   r8   r8   R   s    
(D
*4*B0.H
9? [[-@%N=udK:GQG:E1E>qIDeTR94FHI1I1G& [[V8+~02D35K8:SUV
/V
/Q
I7 7r1   r8   c                   ,   a  ] tR tRt o R tR tRtV tR# )BatchFloaterHormanni  c                    \         P                  ! W#R4      pVP                  RR V n        VP	                  RVP                  R,          4       Uu. uF  p\        W4      NK  	  upV n        W0n        R# u upi )rg   Nr   )r   moveaxisshape_batch_shapereshaper   _interps_axis)rG   r   yaxisyis   &&&& r/   __init__BatchFloaterHormann.__init__  se    KK$GGCRL#$99R#=?#=R 4A;#=?
?s   A5c                   V P                    Uu. uF
  q"! V4      NK  	  pp\        P                  ! W0P                  VP                  ,           4      pVP                  '       d#   \        P
                  ! VRV P                  4      # T# u upi r   )r   r   r   r   r   r   r   )rG   r   interpr   s   &&  r/   __call__BatchFloaterHormann.__call__  sd    %)]]3]6VAY]3JJq++agg5612r{{1b$**-?a? 4s   B)r   r   r   N)r   r   r   r   r   r   r   r   r   s   @r/   r   r     s     @ @r1   r   c            
       $  a  ] tR tRt o R tR tR t]P                  P                  R^ . RO3^. RO3^. RO3^. RO3^. RO3.4      R 4       t
]P                  P                  R]! ^
4      4      R 4       tR	 tR
 t]P                  P                  R. RO4      ]P                  P                  R^dR.4      R 4       4       tR tR t]P                  P                  R. RO4      ]P                  P                  R. RO4      R 4       4       tRtV tR# )TestFloaterHormanni  c                0    ^^V^,          ,           ,          # r   r   )rG   r,   s   &&r/   rungeTestFloaterHormann.runge   s    !ad(|r1   c                j    R\         P                  ! V4      V,           ,          \        V4      ,          # r   )r   r5   r   )rG   nds   &&&r/   scaleTestFloaterHormann.scale#  s#    biilQ&')A,66r1   c                   \         P                  ! \        R R7      ;_uu_ 4        \        ^ ..^ .^ R7       RRR4       \         P                  ! \        RR7      ;_uu_ 4        \        ^ .^ ^ R7       RRR4       \         P                  ! \        RR7      ;_uu_ 4        \        ^ .^^.^^..^ R7       RRR4       \         P                  ! \        RR7      ;_uu_ 4        \        \        P
                  .^.^ R7       RRR4       \         P                  ! \        RR7      ;_uu_ 4        \        ^ .^ .R	R7       RRR4       \         P                  ! \        RR7      ;_uu_ 4        \        ^ .^ .^
R7       RRR4       \         P                  ! \        4      ;_uu_ 4        \        ^ .^ .RR7       RRR4       R#   + '       g   i     EL; i  + '       g   i     ELi; i  + '       g   i     EL;; i  + '       g   i     EL; i  + '       g   i     L; i  + '       g   i     L; i  + '       g   i     R# ; i)
z`x`r;   r   Nz`y`r:   r=   z`d`        r   )rA   rB   rC   r   r   rD   rE   rF   s   &r/   test_ivTestFloaterHormann.test_iv&  s`   ]]:U33&uqcQ7 4]]:U33&sA3 4]]:-OPP&saVaV,<B Q]]:X66&x!: 7]]:U33&sQC26 4]]:U33&sQC26 4]]9%%&sQC37 &% 433333PPP6663333%%%sS   F?#GG'!G;,H)H"$H5?G	G$	'G8	;H	H	"H2	5I	z
d,expectedc                    \         P                  ! ^4      p\        VRV,          VR7      p\        VP                  P                  4       V P                  VP                  V4      ,          VRRR7       R# )   r  r  r   r   rS   N)r   r5   r   r   r&   ravelr   r   )rG   r   expectedr   r-   s   &&&  r/   test_uniform_grid$TestFloaterHormann.test_uniform_grid7  sS     IIbM&q#a%15		)$**QVVQ*??"	0r1   r   c                   \         P                  ! ^ ^^34      p\         P                  P                  R4      pVP	                  ^ ^RR7      pV P                  V4      pV^,          V^ ,          ,
          p\        W%VR7      p^
Wa^,           ,          ,          p\        V! V4      V P                  V4      RVR7       \        V! V4      V P                  V4      4       R# )r   l   M+RYr
   r   r  g|=r\   N)	r   r   r   r   r    r   r   r   r   )	rG   r   r   r+   xxr   hr-   tols	   &&       r/   
test_rungeTestFloaterHormann.test_rungeE  s    KK1b!ii##$67[[AD[)JJqMaD1Q4K&qq1qSk"tzz"~EDQqT4::a=)r1   c                6   \         P                  ! R^4      pWR,          ,           p\        V\         P                  ! V4      ^R7      p\         P                  ! R^RR7      pWDR,          ,           p\	        V! V4      \         P                  ! V4      RR7       R# )	rg   r   r  r
   r   r   r   Nr   )r   r   r   r   r   )rG   r   r,   r-   r  r   s   &     r/   test_complexTestFloaterHormann.test_complexT  sh    KKA"H&q"&&)r:[[QD)R%Z"rvvbz6r1   c                   \         P                  ! ^ ^^4      p\         P                  ! ^ ^R4      p\         P                  ! V4      p\        WVP                  ^,
          R7      p\        W4      p\        V! V4      V! V4      RRR7       R# )r   i  r  r   r	  N)r   r   r   r   r   r	   r   )rG   r   r  r   r-   ps   &     r/   test_polyinterp"TestFloaterHormann.test_polyinterp\  sg    KK1b![[At$FF1I&qqvvax8#A)"qu5u=r1   y_shapexx_shapec                   \         P                  ! ^ ^4      p\         P                  ! \         P                  ! \         P                  ! V4      \        \        ^\        V4      ^,           4      4      4      VP                  V,           4      p\        W44      p\         P                  P                  R4      pVP                  V4      p\         P                  ! \         P                  ! \         P                  ! V4      \        \        VP                  \        V4      VP                  ,           4      4      4      VP                  V,           4      pV! V4      p	V	P                  VP                  V,           8X  g   Q h\        WRR7       R# )r   l   wcBMYr   r   N)r   r   broadcast_toexpand_dimsr   tuplerangelenr   r   r   r   ndimr   )
rG   r  r  r   r   r-   r+   r  yyrrs
   &&&       r/   test_trailing_dim$TestFloaterHormann.test_trailing_dime  s    KK1OONN266!9eE!S\A5E,F&GHGGg

 'q,ii##$BCZZ!__NN266":uU277CL277<R-S'TUHHw
 rUxx288g----T*r1   c                   \         P                  ! ^ ^
^dR7      p\        V\         P                  ! \         P                  V,          4      4      p\         P
                  ! \         P                  P                  VP                  4       \         P                  ! ^4      4      4      P                  ^ R7      p\        VR4       R# )r   r   r   gh㈵>N)r   r   r   r   r`   rb   subtractouterr*   r5   ra   r   )rG   r   r-   errs   &   r/   
test_zerosTestFloaterHormann.test_zeros{  su    KK23'&q"&&q/:ffR[[&&qwwy"))B-@AEE1EM#t$r1   c                X   \         P                  ! R^4      p\        V^V^,          ,          4      pVP                  4       pVP                  R8  VP                  ^8*  ,          \         P
                  ! VP                  4      R8  ,          p\         P                  ! V4      ^ 8X  g   Q hR# )rg   r   Nr   )r   r   r   r'   r%   rb   imagr   )rG   r   r-   r  masks   &    r/   test_no_poles TestFloaterHormann.test_no_poles  sw    KKA&q!AqD&1GGI"1-&1HIvvd|q   r1   
eval_shaper   c                   \         P                  P                  R 4      p^
p^^^V3pRp\         P                  ! . VOVN5!  p\         P                  ! VP                  V4      RV4      p\        WxVR7      p	\        WxVR7      p
VP                  ! VRV/ p\        V	! V4      V
! V4      4       \        P                  ! \        V	P                  4       \        P                  ! \        V	P                  4       R# )l   UU{ r)  r   N)r   r3   r   )r   r   r   r   r   r   r   r    r   rA   rB   NotImplementedErrorr*   r)   )rG   r4  r   r+   r   r   domainr   r   resrefs   &&&        r/   
test_batchTestFloaterHormann.test_batch  s     ii##$45Aq!KK###KK

5)2t4(D9!!T2KK1j1AA')3995)3<<8r1   r   N)rg   rg   rg   rg   rg   rg   rg   rg   rg   rg   rg   )rg   rh   rh   rh   rh   rh   rh   rh   rh   rh   rg   )rg   r   r   r   r   r   r   r   r   r   rg   )rg   r         r=  r=  r=  r=  r<  r   rg   )rg   rx   r  r      r>  r>  r   r  rx   rg   )r   )rh   r   rg   )rg   rx      r   )r3   r3   )r   r   r   )r   r   rg   )r   r   r   r   r   r   r  rA   r   r   r  r!  r  r  r  r&  r-  r2  r:  r   r   r   s   @r/   r   r     s,    78" [[\	
-.	
-.	
-.	
-.	
45, 00 [[S%),* -*7> [[Y(GH[[Z3):;+ < I+(%! [[\+;<[[VZ09 1 =9r1   r   r   r   )$mathr   numpyr   numpy.testingr   r   r   rA   r   scipy.interpolater   r   r	   r   float64r   rT   r   rM   r   r   concatenater   r   float32	complex64rp   r0   int16int32int64r6   r8   r   r   r   r1   r/   <module>rK     s`  4   J J   V V	BHHRZZ $$$Bt,kk#qrs+nns4R4yj1#s+, C)C#DE2::rzz2<<"WX8 Y F8. C)C#DE288RXXrxx"@A4 B F4{7 {7|@ @|9 |9r1   