+
    nDjv             
       L   ^ RI t^ RIt^ RIt^ RIHt ^ RIt^ RIHt ^ RI	t	^ RI
HtHt ^ RIHtHtHtHt ^ RIHu Ht ^ RIHt ^ RIHt ^ RIHt ^ R	IHt ^ R
IHt ^ RIHtH t  ^ RI!H"t"H#t#H$t$H%t%H&t&H't'H(t(H)t)H*t*H+t+H,t, ^ RI-H.t.H/t/H0t0 ^ RI-H1t1 ^ RIH2t2H3t3H4t4H5t5  ! R R4      t6R<R lt7].]2]3]4]/.t8]5.t9]8]9,           t: ! R R4      t;R t<R t=R t>R t?R t@R tAR tBR tC]	P                  P                  R]234      ]	P                  P                  R]F! 4       R=.4      ]	P                  P                  R]F! 4       R>.4      ]	P                  P                  R R!.4      ]	P                  P                  R"]P                  P                  ]P                  ]P                  .4      R# 4       4       4       4       4       tKR$ tLR% tMR& tNR' tO ! R( R)4      tP ! R* R+4      tQ ! R, R-4      tR ! R. R/4      tS ! R0 R14      tT ! R2 R34      tU ! R4 R5]'4      tV ! R6 R74      tWR8 tX ! R9 R:4      tYR; tZR# )?    N)deepcopy)inf)assert_allcloseassert_equal)
strategiesgivenreproduce_failuresettings)special)stats)_kolmogorov_smirnov)kolmogn)qmc)distcontdistdiscrete)_Domain_RealInterval
_Parameter_Parameterization_RealParameterContinuousDistributionShiftedScaledDistribution_fiinfo_generate_domain_supportMixture_logexpxmexpy)StandardNormal_LogUniform_Gamma)DiscreteDistribution)NormalLogisticUniformBinomialc                     a  ] tR t^t o ]P
                  P                  R4      tR t]	P                  P                  R]P                  ^
^
RR7      ]P                  ) ]P                  .4      R 4       t]	P                  P                   ]! ]P&                  ! ^^ R7      ]P*                  ! 4       ]P*                  ! 4       ]P,                  ! 4       R7      R 4       4       t]	P                  P                  R	]! ]P4                  ! R
R.^R7      4      4      ]	P                  P                  RRR.4      R 4       4       t]	P                  P                  R]P                  ) ]P                  RR
R3R.4      R 4       t]	P                  P                   ]! ]P:                  ! ]P<                  ! RR7      ]P>                  ! RR7      ]P@                  ! ]! ]!PD                  4      4      4      ]P:                  ! ]P<                  ! RR7      ]P>                  ! RR7      ]P@                  ! ]! ]!PD                  4      4      4      ]P*                  ! 4       ]P*                  ! 4       R7      R 4       4       t#R t$Rt%V t&R# )Test_RealIntervall   @x	 c                    \        RR7      pRp\        P                  ! \        VR7      ;_uu_ 4        VP	                  \
        4       RRR4       R#   + '       g   i     R# ; i)a	endpointsz0The endpoints of the distribution are defined...matchNr(   b)r   pytestraises	TypeErrorget_numerical_endpointsdict)selfdomainmessages   &  [/data/cameron/venvs/s3viz/lib/python3.14/site-packages/scipy/stats/tests/test_continuous.pytest_ivTest_RealInterval.test_iv   s?    4D]]9G44**40 5444s   AA$	xsizec                    \         P                  ) \         P                  r2\        W#3RR7      p\	        VP                  V4      W!8  W8*  ,          4       R# )Fr*   	inclusiveNFT)npr   pir   r   contains)r4   r:   r(   r.   r5   s   &&   r7   test_contains_simple&Test_RealInterval.test_contains_simple%   s?     w1!=IV__Q'!%AF);<    
num_shapesmin_side)shapesinclusive_ainclusive_bdatac           	     H   Vw  rVVw  rxp	\        R R R^R7      p
\        R R ^RR7      pVP                  \        P                  ! \        P                  ! 4       WzR7      4      pVP                  \        P                  ! \        P                  ! 4       WR7      4      pW,
          p\
        P                  ! \
        P                  ! W,
          V^
4      \
        P                  ! W^
4      \
        P                  ! WV,           ^
4      .4      p\        RW#3R7      pVP                  \        R\        4       R7      \        R\        4       R7      4       VP                  V\        WR7      4      pV'       d   R	MR
pV'       d   R	MR
p\        RV RV R24      p\        VV4       R# )Fg     @@)	allow_nanallow_infinity	min_value	max_value)elementsr(   r.   r>   r5   r-   z<=<z(a z	 x) & (x z b)Ng     @)r3   drawnpstarraysfloating_dtypesrA   concatenatelinspacer   define_parametersr   rC   evalr   )r4   rJ   rK   rL   rM   input_shapesresult_shapeshape_ashape_bshape_x
a_elements
b_elementsr(   r.   dr:   r5   resleft_comparisonright_comparisonrefs   &&&&&                r7   test_containsTest_RealInterval.test_contains-   si    &,"$0!' E%$(A7
E%$%6
IIdkk$"6"6"8")@ AIIdkk$"6"6"8")@ A ENNBKKQ3KKb1KKQ335 6 (3'AC  MO!L!/MO!L	N ooa0 #.$3#.4CS)3C2DCHIS#rF   r?   TF)repeatza,bc           	     6   R  R 3p\        WAR7      p\        P                  ! V^V,          ,
          ^,          W#,
          ^,          V^,          W#,           ^,          V^V,          ,           ^,          .4      pVP                  V\	        W#R7      4      pW#,
          ^,          W#,           ^,          3pWP                  \	        W#R7      4      8X  g   Q hVw  rV^ ,          '       d   W8*  MW8  pV^,          '       d   Wj8*  MWj8  pW,          p\        W}4       R# )c                      W,
          ^,          #     r-   s   &&r7   <lambda>DTest_RealInterval.test_contains_function_endpoints.<locals>.<lambda>^   s
    15A+rF   c                      W,           ^,          # ro   rq   r-   s   &&r7   rr   rs   ^   s
    QUaKrF   r>   r-   N)r   rA   asarrayrC   r3   r2   r   )r4   r?   r(   r.   r*   r5   r:   rf   numerical_endpointsalphabeta
above_leftbelow_rightri   s   &&&&          r7    test_contains_function_endpoints2Test_RealInterval.test_contains_function_endpointsZ   s     ./GH	HJJQqS!aeQY!aeQYQqS!LMooa0 !{QUaK8"&D&DTA^&TTTT)#,Q<<UZUY
#,Q<<aiQX&SrF   casez(-\infty, \pi]c                n    \        VR ,          VR,          R7      p\        V4      V^,          8X  g   Q hR# ):Nrp   N:rp      Nr>   N)r   str)r4   r}   r5   s   && r7   test_strTest_RealInterval.test_strm   s.    
 bT#YG6{d1g%%%rF   )rO   L)whitelist_categories)r(   r.   rK   rL   c                
   \         P                  P                  W4      p\         P                  P                  W"4      pV'       d   R MRpV'       d   RMRp\        W3W43R7      pV V RV V 2p\	        V4      V8X  g   Q hR# )[(])r>   , N)r   symbolsgetr   r   )	r4   r(   r.   rK   rL   left_bracketright_bracketr5   ri   s	   &&&&&    r7   	test_str2Test_RealInterval.test_str2u   s}     OO%OO%)ss*!(3'ACqcA3}o66{c!!!rF   c                n    \        RR7      p\        RR7      pVP                  VP                  Jg   Q hR# )r   r)   Nr      )r   r   )r4   domain1domain2s   &  r7   test_symbols_gh22137&Test_RealInterval.test_symbols_gh22137   s.      &1&1goo555rF   rq   N)rp      r   r   r   r   )r(      TFz[a, 5))'__name__
__module____qualname____firstlineno__rA   randomdefault_rngrngr8   r/   markparametrizeuniformr   rB   rD   slowr   rW   mutually_broadcastable_shapesr   booleansrM   rj   listitproductr{   r   one_ofdecimals
characterssampled_fromr   r   r   r   __static_attributes____classdictcell____classdict__s   @r7   r&   r&      s6    
))


0C1 [[S3;;r2I;#F$&FF7BEE#3 4=4= [[
$44AN!**,!**,!#&	# 
&P [[[$rzz4-PQ/R*ST[[UVV$45 6 U" [[V
&&"%%&78'& &	& [[
Ze,37W__ 568 e,37W__ 568 "**,!**,

"
 
"6 6rF   r&   c                    V P                  4       pV^ 8  d~   VP                  \        P                  ! ^ V^,
          R7      4      pV P	                  V4      pVP                  \
        P                  ! VVR7      4      w  rV P                  WVVR7      p
MV P                  VR7      p
\        4       p	VP                  \
        P                  ! V	VR7      4      pV
P                  P                  WP                  W2RR7      p\        P                  ! W4      pVP                  \
        P                  ! VVR7      4      pV
P                  P                  WP                  W2RR7      p\        P                  ! W4      p\        RR4      p\        RVR	7      pVP                  WVR
7      p\        P                   ! RRR7      ;_uu_ 4        \        P"                  ! V4      pRRR4       WVVXWV3#   + '       g   i     L; i)r   )rR   rG   )r   proportionsi_parameterizationr   rI   typical)parameter_valuesr   r   regionprT   )r   r   ignoredivideinvalidNr   TT)_num_parameterizationsrV   r   integers_num_parametersrW   r   _drawtuplebroadcastable_shapes	_variable_parametersrA   broadcast_shapesr   r   errstatelog)familyrM   r   r   rI   n_parameterizationsin_parametersrJ   r_   distx_shaper:   x_result_shapey_shapeyxy_result_shapep_domainp_varr   logps   &&&&&                r7   draw_distribution_from_familyr      s    !779QIIj))!7J17LMN--a0#yy..,8@B C ||F/0  2 |||$w ii11,;CE FGG6F6F(3Y 	 	PA((?Nii11.;CE FGG6F6F(3Y 	 	PA))'BOV\2H3x0E

7
=A	Hh	7	7vvay 
8 Aq$oMM 
8	7s   G..G>	c                     a  ] tR t^t o ]P
                  P                  ^<4      ]! ^R7      ]P
                  P                  R]	4      ]
! ]P                  ! 4       ]P                  ! ^ R7      R7      R 4       4       4       4       t]P
                  P                  ^
4      ]P
                  P                  R]	4      ]P
                  P                  RRRR	0R
3RRR	0R
3RR0R
3RR0R
3RR0R
3RR0R
3RR0R
3RR0R
3RR0R3RR0R3R0 R,mR3R0 R,mR3R0 R,mR3R0 R,mR3RRR0R3R RR0R!3.4      ]! ^R7      ]
! ]P                  ! 4       ]P                  ! ^ R7      R7      R" 4       4       4       4       4       tR# t]P
                  P                  R$RR.4      R% 4       t]P
                  P                  R$RR.4      R& 4       tR' tR( tR) t]P
                  P                  R$RR.4      R* 4       tR+tV tR
# )-TestDistributionsmax_examplesr   rQ   rM   seedc           	        \         P                  P                  V4      pRp\        WWE4      pVw  rxrrrVP	                  \
        P                  ! ^ ^ ^R7      4      p\         P                  ! RRR7      ;_uu_ 4        \        V4       \        W|4       \        W|4       \        VRWV4       \        P                  ! ^VR7      p\        VRWV4       RRR4       R#   + '       g   i     R# ; i)ffffff?)min_dimsrI   max_sider   r   r   samplere   r   Nr   皙?r   r   )rA   r   r   r   rV   rW   array_shapesr   check_supportcheck_moment_funcscheck_lmoment_funcscheck_sample_shape_NaNsr   Halton)r4   r   rM   r   r   r   tmpr   r:   r   r   r   r_   r   r   sample_shapeqrngs   &&&&             r7   test_support_moments_sample-TestDistributions.test_support_moments_sample   s    
 ii##D) ++F#KMPJt>yy!2!2A<>"@ A [[(;;$t23#D(LPST::,D#D(LPTU <;;;s   =ACC.	zfunc, methods, argentropylog/exp
quadratureN
logentropymedianicdfmodeoptimizationmeancachevarianceskewnesskurtosispdfr:   logpdflogcdf
complementcdflogccdfccdfilogccdf	inversionr   iccdfr   c           
     \   V\         8X  d   VR 8X  d   \        P                  ! R4       \        P                  P                  V4      pRp\        WWx4      p	V	w  rrrppRVRVRV/p\        P                  ! RRRR7      ;_uu_ 4        Vf   \        WRW4       MVV9   d   \        WVV,          VV4       RRR4       VR8X  d0   \        V
P                  4       ^,          V
P                  4       4       \        P                  ! RRRR7      ;_uu_ 4        \        V
\        4      '       gR   VR	8X  d#   R
0p\        V
RWVV4       \        V
RWVV4       M(VR8X  d"   R0p\        V
RWVV4       \        V
RWVV4       RRR4       R#   + '       g   i     L; i  + '       g   i     R# ; i)r   z'Mode is not unique; `method`s disagree.r:   r   r   r   )r   r   overNr   r  r   FTr  additionr   )r#   r/   skiprA   r   r   r   r   check_dist_funcr   standard_deviationr   
isinstancer   
check_cdf2check_ccdf2)r4   r   rM   r   funcmethodsargr   r   r   r   r:   r   r   r   r_   r   r   argss   &&&&&&&            r7   
test_funcsTestDistributions.test_funcs   sr   . WKKABii##D) ++F#KMPJt>?QQ*[[(JJ{D,HDI~wO	 K :D335q8$--/J [[(JJd$=>>5=+nGtUA/7KtT1'JV^)lGeQ?GLdA/7K KJ KJ KJJs   /FA(FF	F+	c                     ^ RI Hp \        RRR7      pTP	                  4       pY1P                  4       8X  g   Q hR#   \         d     R# i ; i)r   N              ?r-   )matplotlib.pyplotpyplotImportErrorr#   plotgca)r4   pltXaxs   &   r7   	test_plotTestDistributions.test_plot  sG    	+ bBVVXWWY  		s   = AAmethod_namec                   \         P                  ! ^^R7      pRVn        \        P                  ! RR.4      p\        W!4      p\        VRV,           4      pV! VRR7      pV! VRR7      pV! VR	R7      p\        V^,          V^,          4       V^ ,          V^ ,          8w  g   Q h\        V^ ,          V^ ,          VP                  R
7       R# )r   musigma-q=-C6?MbP?r   formulamethodcomplement_safer  rtolNr   r!   tolrA   ru   getattrr   r   )	r4   r(  r$  r   r  ifuncr:   p1p2s	   &&       r7   test_complement_safe&TestDistributions.test_complement_safe!  s    LLAQ'JJd|$q&3{?+!I&!-.!L)RUBqE"!u1~~1qt!%%0rF   c                   \         P                  ! ^^R7      pRVn        \        P                  ! RR.4      p\        W!4      p\        VRV,           4      pV! VRR7      pV! VRR7      p\        V^,          V^,          4       V^ ,          V^ ,          8w  g   Q h\        V! V^ ,          4      V^ ,          VP                  R	7       R
# )r   r*  r-  r.  r/  r   r3  r1  r  r4  Nr6  )r4   r(  r$  r   r  r9  x1x2s   &&      r7   test_icomplement_safe'TestDistributions.test_icomplement_safe/  s    LLAQ'JJd|$q&3{?+1./1\*RUBqE"!u1~~RUQqT6rF   c                2   \         P                  ! 4       pR Vn        . ROp. ROpVP                  W#RR7      pVP                  W#RR7      pVP                  W#RR7      p\	        We4       \        WTVP                  R7       \        P                  ! . R	O4      p\        P                  ! . R
O4      pVP                  ^ 4      W2,
          ,          pVP                  W#RR7      pVP                  W#RR7      p\	        V^ 4       \        WTVP                  R7       R# )r-  r   r1  subtraction_safesubtractionr4  N)
      )rG  rF  rI  rH  )#BǻO
㒻#B;O
;rJ  )rK  rJ  rM  rL  rL  )	r   r!   r7  r  r   r   rA   ru   r  )r4   r$  r:   r   p0r:  r;  s   &      r7   test_subtraction_safe'TestDistributions.test_subtraction_safe<  s    LLN UU1U-UU1 2U3UU1U.RQUU+ JJ=>JJ<= UU1Xqs^UU1 2U3UU1U.RQUU+rF   c                    ! R  R\         P                  4      pV! . R
OR7      p\        P                  ! RR7      ;_uu_ 4        VP	                  RR7      pVP	                  RR7      pRRR4       VP	                  R	R7      p^ R.p\        P
                  ! XV,          4      P                  4       '       g   Q hX^,          V^,          8X  g   Q h\        W6,          WV,          4       R#   + '       g   i     L; i)c                   2   a a ] tR tRt oV 3R ltRtVtV ;t# )7TestDistributions.test_logentropy_safe.<locals>._NormaliV  c                   < \         P                  ! \        SV `  ! R/ VB 4      p^ V^ &   \         P                  VR&   V# )r   rq   )rA   ru   super_entropy_formular   )r4   paramsout	__class__s   &, r7   rW  HTestDistributions.test_logentropy_safe.<locals>._Normal._entropy_formulaW  s9    jj!9!CF!CDA&&B
rF   rq   )r   r   r   r   rW  r   r   __classcell__rZ  r   s   @@r7   _NormalrS  V  s      rF   r^  r,  r   r   logexp_safer1  logexpNr   r   rp   r   rU  )r   r!   rA   r   r   isinfallr   )r4   r^  r$  res1res2ri   i_fls   &      r7   test_logentropy_safe&TestDistributions.test_logentropy_safeT  s    	ell 	 )$[[))<<}<5D<<x<0D * ll,l/2wxxT
#''))))Aw$q'!!! 	TZ+ *)s   %C++C;	c                   \         P                  ! . R	OR7      p. R
Op. ROp\        P                  ! RR7      ;_uu_ 4        VP	                  W#RR7      pVP	                  W#RR7      pRRR4       VP	                  W#RR7      p^ R.p\        P
                  ! XV,          4      P                  4       '       g   Q hX^,          V^,          8X  g   Q h\        WG,          Wg,          4       R#   + '       g   i     L; i)r   r_  r   r`  ra  r1  rb  Nr   rc  )r   ,  )irp   -  rU  )r   r!   rA   r   r  rd  re  r   )r4   r$  r:   r   rf  rg  ri   rh  s   &       r7   test_logcdf2_safe#TestDistributions.test_logcdf2_safei  s    LLy)[[))88A87D88A82D * hhqLh12wxxT
#''))))Aw$q'!!! 	TZ+ *)s   'C++C;	c                   \         P                  ! ^R7      pVR8X  d   R^.MR^.p\        W!4      p\        P                  ! RR7      ;_uu_ 4        V! VRR7      pV! VRR7      pR	R	R	4       V! VR
R7      pX^ ,          V^ ,          8X  g   Q hV^ ,          X^ ,          8w  g   Q hV^,          V^,          8X  g   Q hV^,          V^,          8w  g   Q hR	#   + '       g   i     Lx; i)rp   r_  r  rn  r   r`  ra  r1  rb  Nr   rl  )r   r!   r8  rA   r   )r4   r(  r$  r:   r  rf  rg  ri   s   &&      r7   test_logexp_safe"TestDistributions.test_logexp_safey  s     LLq!$0T1IsAhq&[[))-0D(+D * 1\*Aw#a&   Aw$q'!!!Aw$q'!!!Aw#a&    *)s   CC&	rq   >   r  r   r   )r   r   r   r   r/   r   	fail_slowr
   r   familiesr   r   rM   r   r   r  r&  r<  rA  rO  ri  ro  rr  r   r   r   s   @r7   r   r      s\    [[22[[Xx0

!
(;(;a(HIV J 1  V$ [[2[[Xx0[[1(9l*CTJ+i-FM'&48%'7>%y$7)G9d;)G9d;)G9d;$yk37')c:')PRUV$&MsS(*QSVW%'NPST)L++FO&{(CSI !$ 2

!
(;(;a(HIL J %! 1 ,LB [[]UFO<1 =1 [[]UFO<
7 =
7,0,*,  [[]Xy,AB! C!rF   r   c                    W#,           pVR 8X  d   V P                   pR0pV P                  RV R24      '       d2   \        V\        P                  4      '       g   VP                  R4       V EFg  pX! W(VR7      p	\        P                  ! \        V 4      V	P                  4      p
\        V	P                  V4       \        P                  P                  V	P                  V P                  4       VR8X  d   \        P                  ! V	4      '       g   Q h\        P                  ! \        P                   ! W,          4      4      '       g   Q h\        W( ,          \        P"                  4       V! W(^*R7      pV! W(^*R7      p\        V \$        4      '       g3   \        P&                  ! \        P(                  ! W4      4      '       d   Q h\        W4       EKj  	  R# )r   inverse_transform__formular0  )r2  r   Nrq   )r   
_overridesr  r   	QMCEngineaddrA   broadcast_toget_valid_parametersshaper   testingdtype_dtypeisscalarre  isfinitenanr    anyequal)r   fnamer   r_   r   
full_shapesample_methodr  r2  rf   valid_parameterssample1sample2s   &&&&&        r7   r   r     sW   ,J"#G5'*++JsCMM4R4RILSA??+?+E+.996SYY
+


		4;;7
 ;;s####vvbkk#"789999S*+RVV4DD$ 455 vvbhhs45555W&/ rF   c                 J   V P                  4       w  r\        V R RV4       \        V R RV4       VP                  V P                  8X  g   Q hVP                  V P                  8X  g   Q hVP                  V P
                  8X  g   Q hVP                  V P
                  8X  g   Q hR# )supportN)r  check_nans_and_edgesr  _shaper  r  )r   r(   r.   s   &  r7   r   r     s    <<>DAy$2y$277dkk!!!77dkk!!!77dkk!!!77dkk!!!rF   c                    Vf   \        4       MV3pVP                  4       pRV9   d=   \        P                  ! \        4      ;_uu_ 4        \        W4      ! VRR/  R R R 4       \        W4      ! V!  p\        WW&4       RR/pVR9   d   RR/pMVR9   d   RR/pMVR9   d   RR/pV P                  RV R	24      '       d   VP                  R
4       \        P                  P                  VP                  V4       V\        4       8X  d   \        P                  ! V4      '       g   Q hV EF  p\        W4      ! VRV/ p	RV9   dL   \        P                  P                  ! \        P                  ! V	4      \        P                  ! V4      3/ VB  M!\        P                  P                  ! W3/ VB  \        P                  P                  V	P                   VP                   4       \        P                  P                  V	P                  V4       V\        4       8X  g   K  \        P                  ! V	4      '       d   EK  Q h	  R #   + '       g   i     EL; i)Nr   r2  atolV瞯<ư>r5  gH׊>rx  ry  r0  r   >   r   logmeanr   logskewness>   r   >   r  )r   copyr/   r0   NotImplementedErrorr8  r  rz  r|  rA   r  r   r  r  r   expr  )
r   r  r  r_   r  r  ri   tol_overrider2  rf   s
   &&&&&     r7   r  r    s    k57vDllnG' ]].//D $7w7 0 $

%Cc/ E?L>>	(	 ~	*	~5'*++IJJCII|4 uw{{3d"D88E>JJ&&rvvc{BFF3K 7)57 JJ&&s@<@ 	

		3995


		<857";;s#### 7 0//s   II	c                    VP                  4       pV'       d   V P                  R 4      '       d   VP                  R4       V P                  R4      '       g   V P                  R4      '       d   VP                  R4       V P                  R4      '       g   V P                  R4      '       d   VP                  R4       MV P                  R4      '       d   VP                  R4       V P                  R4      '       g   V P                  R4      '       d   VP                  R4       V P                  R4      '       g   V P                  R4      '       d   VP                  R4       V P                  V4      V P                  V4      ,
          p\        P
                  P                  VP                  V4       V\        4       8X  d   \        P                  ! V4      '       g   Q hV EF  p\        V \        4      '       dt   R	p\        P                  ! \        VR
7      ;_uu_ 4        V'       d(   \        P                  ! V P!                  W#VR7      4      MV P                  W#VR7      p	RRR4       K  V'       d(   \        P                  ! V P!                  W#VR7      4      MV P                  W#VR7      p	\        P
                  P#                  WRR7       V'       d=   \        P
                  P                  V	P$                  VR,           P$                  4       M4\        P
                  P                  V	P$                  VP$                  4       \        P
                  P                  V	P                  V4       V\        4       8X  g   EK  \        P                  ! V	4      '       d   EK  Q h	  R#   + '       g   i     ELO; i)_logcdf2_formular0  _logcdf_formula_logccdf_formularE  _cdf_formula_ccdf_formular   _cdf2_formulaUTwo argument cdf functions are currently only supported for continuous distributions.r+   r1  N+=r                  )r  rz  r|  r  rA   r  r   r  r   r  r  r    r/   r0   r  r  r  r   r  
r   r   r:   r   r_   r  ri   r2  r6   rf   s
   &&&&&&    r7   r  r    s}    llnG
??-..KK	"??,--AS1T1TKK&OON++???33KK	"???++KK	"??>**dooo.N.NKK&OO-..??#566KK	"
((1+
#CJJCII|4uw{{3d0113G2'BBCFrvvdkk!vk>? HHQ&H9  C ;>rvvdkk!vk67HHQ&H1 	


""3%"8JJ##CIIb/?/?@JJ##CIIsyy9


		<857";;s#####  CBBs   &AN//O c                    VP                  4       pT P                  R V'       d   RMR R24      '       d   VP                  R4       V P                  V4      V P	                  V4      ,           p\
        P                  P                  VP                  V4       V\        4       8X  d   \
        P                  ! V4      '       g   Q hV EF~  pRp\        V \        4      '       dr   \        P                  ! \        VR7      ;_uu_ 4        V'       d(   \
        P                   ! V P#                  W#VR7      4      MV P	                  W#VR7      p	RRR4       K  V'       d(   \
        P                   ! V P#                  W#VR7      4      MV P	                  W#VR7      p	\
        P                  P%                  WR	R
7       \
        P                  P                  V	P&                  VP&                  4       \
        P                  P                  V	P                  V4       V\        4       8X  g   EK`  \
        P                  ! V	4      '       d   EK  Q h	  R#   + '       g   i     EL; i)rx  r    ccdf2_formular0  r  r+   r1  Nr  r  )r  rz  r|  r  r  rA   r  r   r  r   r  r  r    r/   r0   r  r  r  r   r  r  s
   &&&&&&    r7   r  r    s    llnGC5R0>??I
((1+		!
$CJJCII|4uw{{3/d0112'BBDGrvvdll1l?@ IIa6I:  C <?rvvdll1l78IIa6I2 	


""3%"8


		3995


		<857";;s####  CBBs   AIIc                 ,   \        V 4      pVR9   d   \        RRR7      pM2VR9   d   \        \        ) ^ 3RR7      pMV P                  P                  p\        WV4      p\        P                  ! V.VO5!  vrFVw  rxrWt,          p\        W4( ,          \        P                  4       \        W:,          \        P                  4       V P                  4       w  r\        P                  ! WP                  4      p\        P                  ! WP                  4      pV	R	8H  V,          pV	^8H  V,          pVR	8H  V,          pV^8H  V,          p\        V \        4      pVR
9   d   \        W>,          \        P                  ) 4       \        W?,          \        P                  ) 4       V'       g   \        P                  ) M\        P                  p\        VVV( ,          ,          V4       \        VVV( ,          ,          V4       EM VR9   dw   \        W>,          ^ 4       \        W?,          ^ 4       V'       g   ^ M\        P                  p\        VVV( ,          ,          V4       \        VVV( ,          ,          V4       EMVR9   d_   V'       gW   \        W>,          \        ) 4       \        W?,          ^ 4       \        VV,          \        ) 4       \        VV,          ^ 4       EM>VR9   dU   V'       gM   \        W>,          ^ 4       \        W?,          ^4       \        VV,          ^ 4       \        VV,          ^4       EMVR9   d_   V'       gW   \        W>,          ^ 4       \        W?,          \        ) 4       \        VV,          ^ 4       \        VV,          \        ) 4       EM~VR9   dU   V'       gM   \        W>,          ^4       \        W?,          ^ 4       \        VV,          ^4       \        VV,          ^ 4       EM#VR9   d   V'       g   \        W9R	8H  ,          \        P                  4       \        W9^8H  ,          \        P                  4       \        W8R	8H  ,          WR	8H  ,          4       \        W8^8H  ,          W^8H  ,          4       MVR9   d   V'       g   \        W9R	8H  ,          \        P                  4       \        W9^8H  ,          \        P                  4       \        W8R	8H  ,          WR	8H  ,          4       \        W8^8H  ,          W^8H  ,          4       0 Rmp\        V \        4      '       d   VP                  RR04       VV9  d?   \        P                   ! W;V^ 8H  ,          ,          4      P#                  4       '       g   Q hR# R# )r   r>   r  r  N>   r   r  r   r   >   ilogcdfr	  rU  >   r  >   r  >   r  >   r  >   r  >   r  >   r   r  >   r  r	  >   r   r  r  r   r  )r~  r   r   r   r5   classify_argrA   broadcast_arraysr   r  r  r}  r  r  r    updater  re  )r   r  r  rf   r  
arg_domainclassified_args	valid_argendpoint_argoutside_argnan_arg	all_validr(   r.   outside_arg_minusoutside_arg_plusendpoint_arg_minusendpoint_arg_plusis_discreteri   excludes   &&&&                 r7   r  r  >  sK   +D1!!"V|L
	)	)"sdAY,O
^^**
"4j9O)+)<)<=M *O>M*O&4C1I[,I &'0rvv&<<>DA
99%A
99%A$*.>>#q(,<<&",0@@%*.>>T#78K 
S+bffW5S*RVVG4(rvvgbffS+yj893?S*iZ78#>	'	S+Q/S*A."aS+yj893?S*iZ78#>	*	[S+cT2S*A.S+,sd3S*+Q/	'	+S+Q/S*A.S+,a0S*+Q/	+	kS+Q/S*SD1S+,a0S*+cT2	(	;S+Q/S*A.S+,a0S*+Q/	%	%kS*+RVV4S)*BFF3S+,a0B.CDS*+Qq/@-AB	'	'S*+RVV4S)*BFF3S+,a0B.CDS*+Qq/@-ABGG$,--x()G{{3LA,=>?@DDFFFF rF   c                   a a R oRVV 3R llpV 3R lpS P                  4        \        ^4       F  pV! VRRRR7       S P                  VRR	R
7      p\        S RRV4       VP                  V8X  g   Q hV! VRRVRR7       V! VRRWS! VR4      R7       V! VRRWT^ 8H  R7       S P
                  \        P                  8X  g   K  V! VRRVRR7       K  	  S P                  4        S P                  ^ R4       S P                  ^R4       \        ^^4       FY  pS P                  VRR	R
7      pT! TRRTV! VR4      ;'       g
    V! VR4      R7       S P                  VR4       V! VRRV4       K[  	  S P                  4        \        ^4       EF  pV! VRRRR7       S P                  VRR	R
7      pVP                  V8X  g   Q hV! VRRVRR7       V! VRRWS! VR4      R7       V! VRRWT^8*  R7       S P
                  \        P                  8X  d   V! VRRVRR7       S P
                  \        P                  8X  d   V^8X  g"   T! TRRTV! VR4      ;'       g    V^8*  R7       V! VR4      '       d   K  S P                  VR4       V! VRRV4       EK
  	  S P                  4       pS P                  4        S P                  ^ R4       S P                  ^R4       S P                  ^R4       \        ^^4       F  pS P                  VRR	R
7      pT! TRRTV! VR4      ;'       d    \        P                  ! V^ 8H  4      '       * R7       S P                  VR4       V! VRRV\        P                  ! V^ 8H  4      '       * R7       K  	  S P                  ^RR	R
7      pS P                  4        \        ^4       Fx  pV! VRRRR7       S P                  VRR	R
7      Wt^,          ,          ,          pVP                  V8X  g   Q hV! VRRVV! VR4      R7       V! VRRWT^8*  R7       V! VRRV4       Kz  	  S P                  4        R# )g&.>NTc                 V  < V'       dN   SP                  WVR 7      p\        WSS^
V ,          ,          R7       VP                  VP                  8X  g   Q hR# \        P                  ! \
        4      ;_uu_ 4        SP                  WVR 7       RRR4       R#   + '       g   i     R# ; i)r1  r  N)momentr   r  r/   r0   r  )orderkindr2  ri   successrf   r  r   s   &&&&& r7   check!check_moment_funcs.<locals>.check  so    ++e&+9CC4E	>:99		)))233E7 4333s   9BB(	c           	         < R V R2pSP                  V4      pV'       g   R# \        SV4      p\        VR\        \        ^4      4      4      pW9   # )_moment_ry  Forders)rz  r8  setrange)r  r  formula_name	overridesr0  r  r   s   &&    r7   has_formula'check_moment_funcs.<locals>.has_formula  sO    !$x0OOL1	$-(CaM:rF   rawr   Fr  r   r1  r  r0  generalquadrature_icdfcentral	transformstandardized	normalize)NNT)reset_cacher  r  r  r  rZ  r   r!   r#   r   rA   r  )	r   r_   r  r  r   ri   r   varr  s	   f&      @r7   r   r     s    D8 8 	 1Xa/kk!U<k8T8T37yyL(((awT2a	3Au0EFa	3a9>>U\\)!U-sDA  	 	KK9KK91a[kk!U<k8aS!!Y/QQ;q.3Q	SAy!aS)  	 1XaGU3kk!Y|k<yyL(((aGS$7aIsK94MNaIsF;>>U\\)!Y 13E%--/AF !YS%a/;;AF=1e$$KK5!!YS1# & }}H 	KK>"KK>"KK>"1a[kk!Y|k<aK!!^4RRRVVHPQM=R9R	TA~&aK"&&Q:O6OP  ++a<+
8C1Xa%8kk!Y|k<s1u~MyyL(((aC!!^4	6aCa@ac2  	rF   c           
        a a \        S \        4      '       gC   R p\        P                  ! \        VR7      ;_uu_ 4        S P                  ^4       RRR4       R# RoRVV 3R llpRp\        ^^4       F  pV! WTRVR7       S P                  WTR	R
7      p\        S RRV4       VP                  V8X  g   Q hV! WTRVRR7       T! YTRTS P                  R4      ;'       d'    V^8  ;'       g    S P                  P                  R8H  R7       V! WTRWe^8H  R7       S P                  R4      '       g   K  V! WTRVRR7       K  	  Rp\        ^^4       F  pS P                  WTR	R
7      pVP                  V8X  g   Q hT! YTRTS P                  R4      ;'       d'    V^8  ;'       g    S P                  P                  R8H  R7       V! WTRVRR7       S P                  R4      '       g   K  V! WTRVRR7       K  	  R#   + '       g   i     R# ; i)z8L-moments are currently available only for continuous...r+   Ng&.!>FTc                 :  < V'       d@   SP                  WVR 7      p\        WSSR7       VP                  VP                  8X  g   Q hR# \        P                  ! \
        4      ;_uu_ 4        SP                  WVR 7       RRR4       R#   + '       g   i     R# ; i)standardizer2  r  N)lmomentr   r  r/   r0   r  )r  r  r2  ri   r  rf   r  r   s   &&&&& r7   r  "check_lmoment_funcs.<locals>.check
  sg    ,,uf,MCC4099		)))233UFK 4333s   +B		B	r   r  order_statisticsr  r  r0  _lmoment_formular#   r  _icdf_formular  )FNNT)r  r   r/   r0   r  r  r  r  r  rz  rZ  r   )r   r_   r6   r  r  r   ri   r  s   f&     @r7   r   r     s    d233L]].g>>LLO ?DL L K1a[ag{;ll1>PlQT9dC8yyL(((agsD9aioo&89 J Jq5HHDNN$;$;y$H	K 	aiAv????++!"3S$G  K1a[ll1>PlQyyL(((aioo&89 J Jq5HHDNN$;$;y$H	K 	aie<???++!"3S$G A ?>s   G99H
	r   r   
dist_shaper  r   rng_typec                 l   \         P                  P                  R 4      pV P                  4       pV'       d   V^ 8X  d   \        P
                  ! R4       V P                  W4      pRpV3V,           p	W,           p
VR8X  d   VP                  pV\         P                  P                  8w  d   V! ^VR7      pX! WR7      pVP                  V
8X  g   Q h\        W|^ R7      p\        VP                  ^ ,          VRR7      pR	pVP                  p\         P                  ! W8  4      pVVV,          8  g   Q hR
# )l   MLy z3Distribution can't have a shape without parameters.i   r   r   r   )axisF)r  g{Gz?N)rA   r   r   r   r/   r  r   r   	Generatorr  r   r   r<   sum)r   r  r   r  r  r   num_parametersr   nsample_sizesample_array_shaper  r:   	statisticpvaluep_thresholdnum_pvaluesnum_small_pvaluess   &&&&&             r7   test_sample_against_cdfr  /  s    ))


0C++-Nn)IJ<<
(DA$.K$1299&&&%k+A77(((( $D!4IQWWQZ6FK++Kv34{[8888rF   c           	      \   V P                   p/ pV P                   F  pVP                  VP                  4       K   	  \        P
                  ! V P                  \        R 7      pVP                  4        F  w  rVWR9  d   K  W%,          pVP                  P                  VR7      w  rVP                  P                  w  rV
'       d   W8*  MW8  pY'       d   Wi8*  MWi8  ,          p\        WP                  P                  WaR7      4       WL,          pK  	  \        V( V P                  4       V# )r  r   )r   _parameterizationsr  
parametersrA   onesr  boolitemsr5   r2   r?   r   rC   _invalid)r   r   r  parameterizationr  namevalue	parameterr(   r.   
a_included
b_includedvalids   &            r7   r~  r~  R  s    ''J 33*556 4 40I'--/!$	
 77- 8 /!*!1!1!;!;
 *	%*:U,,55 6 6 	7 		# 0* )T]]+rF   c                 J   Vf   \         P                  ! V P                  \        R7      p\         P                  ! V P                  \        R7      p\         P                  ! V P                  \        R7      p\         P                  ! V P                  \        R7      pW4WV3# VP                  V P                  R7      w  rx\         P                  ! WxV4      w  rxpVP                  w  rV	'       d   Wq8*  MWq8  pY'       d   W8*  MW8  ,          p\         P                  ! VP                  \        R7      pRWV8H  &   ^WV8H  &   \         P                  ! VP                  \        R7      pRY'       d   W8  MW8*  &   ^Y'       d   W8  MW8*  &   \         P                  ! V4      pWW3# )Nr  r  rU  )rA   r  r  r  zerosr2   r   r  r?   r  intisnan)r   r  r  
valid_argsendpoint_argsoutside_argsnan_argsr(   r.   r  r  insideonoutsider  s   &&&            r7   r  r  y  sA   
{WWT[[5
D9xx4888DKKt4,@@--)) . +DA ##A#.IA#'11J%ah17F
JsxCG3F	!''	%BBCxLBCxLhhqwwc*G57GSW256GQW2
((3-Cw##rF   c                  h
    ! R  R\         4      p Rp\        P                  ! \        VR7      ;_uu_ 4        V ! ^R7       RRR4       Rp\        P                  ! \        VR7      ;_uu_ 4        V ! \        P
                  ! . 4      R7       RRR4       \        P                  ! \        VR7      ;_uu_ 4        V ! . ROR7       RRR4       \        P                  ! \        VR7      ;_uu_ 4        V ! \        P                  R7       RRR4       \        P                  ! \        VR7      ;_uu_ 4        V ! RR7       RRR4       Rp\        P                  ! \        VR7      ;_uu_ 4        V ! 4       P                  R4       RRR4       \        P                  ! \        VR7      ;_uu_ 4        V ! 4       P                  \        P                  4       RRR4       R	p\        P                  ! \        VR7      ;_uu_ 4        V ! 4       P                  ^ 4       RRR4       R
p\        P                  ! \        VR7      ;_uu_ 4        V ! 4       P                  ^RR7       RRR4        ! R R\         4      pRp\        P                  ! \        VR7      ;_uu_ 4        V! ^R7       RRR4       Rp\        P                  ! \        VR7      ;_uu_ 4        V! 4        RRR4       Rp\        P                  ! \        VR7      ;_uu_ 4        V! ^^.. ROR7       RRR4       Rp\        P                  ! \        VR7      ;_uu_ 4        V! . RO. ROR7      pVP                  ^^.4       RRR4       Rp\        P                  ! \        VR7      ;_uu_ 4        V! ^\        4       .^^.R7       RRR4       Rp\        P                  ! \        VR7      ;_uu_ 4        V! . RO. ROR7      pVP                  RR7       RRR4       R#   + '       g   i     EL; i  + '       g   i     EL; i  + '       g   i     ELu; i  + '       g   i     ELE; i  + '       g   i     EL#; i  + '       g   i     EL; i  + '       g   i     EL; i  + '       g   i     EL; i  + '       g   i     ELQ; i  + '       g   i     EL; i  + '       g   i     EL; i  + '       g   i     EL; i  + '       g   i     EL; i  + '       g   i     ELf; i  + '       g   i     R# ; i)c                   4    ] tR tRt]! R]! 4       R7      tRtR# )#test_input_validation.<locals>.Testi  r:   rT   rq   N)r   r   r   r   r   r   r   r   rq   rF   r7   Testr    s    "3}?	rF   r  z`The `Test` distribution family does not accept parameters, but parameters `{'a'}` were provided.r+   r(   NzAAttribute `tol` of `Test` must be a positive float, if specified.r7  zVArgument `order` of `Test.moment` must be a finite integer greater than or equal to 0.zWArgument `order` of `Test.lmoment` must be a finite integer greater than or equal to 1.z2Argument `kind` of `Test.moment` must be one of...coconutr  c                       ] tR tRt]! R]! 4       R7      t]! R]! 4       R7      t]! ]]4      .t	]! R]! 4       R7      t
RtR# )$test_input_validation.<locals>.Test2i  crT   re   r:   rq   N)r   r   r   r   r   r   _p1_p2r   r  r   r   rq   rF   r7   Test2r    s<    S9S9/S9:"3}?	rF   r  zkThe provided parameters `{a}` do not match a supported parameterization of the `Test2` distribution family.zLThe `Test2` distribution family requires parameters, but none were provided.zjThe parameters `{c, d}` provided to the `Test2` distribution family cannot be broadcast to the same shape.)r  re   zmThe argument provided to `Test2.pdf` cannot be be broadcast to the same shape as the distribution parameters.z$Parameter `c` must be of real dtype.z<Parameter `convention` of `Test2.kurtosis` must be one of...
conventionrc  rU  )r   r/   r0   
ValueErrorrA   ru   r  r  r   r  r  r1   objectr  )r  r6   r  r   s       r7   test_input_validationr    sB   @% @7G	z	1	1q 
2 RG	z	1	1B  
2	z	1	1 
2	z	1	1 
2	z	1	1 
2<G	z	1	1b 
2	z	1	1bff 
2<G	z	1	1q 
2 CG	z	1	1ai( 
2@& @FG	z	1	1
 
2 G	z	1	1 
2LG	z	1	1A)$ 
2?G	z	1	1yI.!Q 
2 5G	y	0	0FH!Q( 
1 MG	z	1	1yI.+ 
2	1{ 
2	1	1 
2	1	1	1	1	1	1	1	1	1	1	1
 
2	1	1	1	1	1
 
2	1	1 
2	1	1 
2	1	1
 
2	1	1
 
2	1	1
 
2	1	1
 
1	0	0 
2	1	1s   
P.P8P00Q4
Q,Q,/%R RR(
R<SS$"S8T!T P	P-	0Q	Q	Q)	,Q=	 R	R%	(R9	<S	S!	$S5	8T		T	 T1	c                  l   \        R^.^
R7      p \        R/ V B p\        V4      p\        P                  ! \        P
                  ! V4      4      pVP                  4       VP                  4       VP                  4       rep\        P                  ! WT8g  4      '       g   Q h\        P                  ! Wd8g  4      '       g   Q hVP                  ^*R7      VP                  ^*R7      VP                  ^*R7      rep\        P                  ! WT8H  4      '       g   Q h\        P                  ! Wd8H  4      '       g   Q hR# )r   r-   r   NrU  rq   )	r3   r#   r   pickleloadsdumpsr   rA   re  )kwargsdist1dist2dist3rf  rg  res3s          r7   test_rng_deepcopy_pickler(    s    RGr"FfEUOELLe,-E||~u||~u||~D66$,66$,|||+U\\b\-A5<<TV<CWD66$,66$,rF   c                   8   a  ] tR tRt o R tR tR tR tRtV t	R# )TestAttributesi  c                   \        R R7      pRp\        P                  ! \        VR7      ;_uu_ 4        VP	                  RR7       RRR4       VP	                  4       p\        P                  ! \        VR7      ;_uu_ 4        VP	                  RR7       RRR4       RVn        \        P                  ! \        VR7      ;_uu_ 4        VP	                  RR7       RRR4       VP	                  4       pVP	                  RR7      p\        WC4       \        P                  ! V4      p\        VP	                  RR7      V4       VP                  4        \        VP	                  RR7      V4       VP	                  RR7      pVP	                  RR7      p\        WF4       \        P                  ! W68H  4      '       d   Q hR Vn        VP	                  RR7      pVP	                  RR7      p\        WF4       \        P                  ! W68H  4      '       d   Q hVP                  4        \        P                  ! \        VR7      ;_uu_ 4        VP	                  RR7       RRR4       R	p\        P                  ! \        VR7      ;_uu_ 4        R
Vn        RRR4       R#   + '       g   i     EL]; i  + '       g   i     EL"; i  + '       g   i     EL; i  + '       g   i     L; i  + '       g   i     R# ; i)no_cache)cache_policyzD`StandardNormal` does not provide an accurate implementation of the r+   r   r1  Nr   r0  z/Attribute `cache_policy` of `StandardNormal`...r   )r   r/   r0   r  r   r-  r   r   r  r  rA   re  r  )r4   r   r6   r   cached_meanr%  quadrature_means   &      r7   test_cache_policy TestAttributes.test_cache_policy  s   :6X]].g>>IIWI% ?yy{]].g>>IIWI% ? !]].g>>IIWI% ?yy{iiwi/[' 		$TYYgY.<TYYgY.< ))<)8iiwi/[266$12222 'yy	y*iiwi/[266$12222]].g>>IIWI% ? D]]:W55 )D 65O ?>> ?>>
 ?>>6 ?> 655s;   JJ.KKK)J+	.J?	K	K&	)K:	c                   R p\         P                  ! 4       pRp\        P                  ! \        VR7      ;_uu_ 4        RVn        RRR4       \        P                  ! \        VR7      ;_uu_ 4        RVn        RRR4       \        P                  ! \        VR7      ;_uu_ 4        \        P                  Vn        RRR4       \         P                  ! RR7      p\         P                  ! RR7      pVP                  V4      pVP                  VRR7      pVP                  VRR7      p\        WvVP
                  R	7       \        WVP
                  R	7       \        Wv,
          4      \        W,
          4      8  g   Q hR
p	VP
                  VP
                  uVn        Vn        VP                  V	4      pVP                  V	RR7      pVP                  V	RR7      p\        WvVP
                  R	7       \        WVP
                  R	7       \        W,
          4      \        Wv,
          4      8  g   Q hR#   + '       g   i     EL; i  + '       g   i     EL; i  + '       g   i     EL; i)      @z+Attribute `tol` of `StandardNormal` must...r+   Nr   r  r-  r   r1  r4  gGz?r
        )r   )r   r!   r/   r0   r  r7  rA   r  r  r   absr   )
r4   r:   r$  r6   X1X2ri   rf  rg  r   s
   &         r7   test_tolTestAttributes.test_tol  s   LLN?]]:W55AE 6]]:W55AE 6]]:W55FFAE 6 \\d#\\e$eeAhvvav-vvav-//4:TZ000ffQiwwqw-wwqw-//4:TZ000/ 655555555s#   H12I&I1I	I	I*	c                   \        ^ ^R7      pVP                  ^4      ^ 8X  g   Q hRVn        VP                  \        P                  ! R4      4      ^8X  g   Q h\        P                  ! R4      \        P                  ! R4      r2\        W#RR7      pVP                  \        P                  ! R4      4      R8X  g   Q h ! R R\         4      pV! W#RR7      pVP                  4       R	8X  g   Q hVP                  R
RR7      R	8X  g   Q hRp\        P                  ! \        VR7      ;_uu_ 4        RVn        RRR4       R#   + '       g   i     R# ; i)r   r-   skip_all       @r  r  )r(   r.   validation_policyc                   ,   a  ] tR tRt o R tR tRtV tR# )0TestAttributes.test_iv_policy.<locals>.MyUniformiG  c                    R # 	incorrectrq   )r4   r  r#  s   &*,r7   rW  ATestAttributes.test_iv_policy.<locals>.MyUniform._entropy_formulaH      "rF   c                    R # rA  rq   )r4   r  rX  s   &&,r7   _moment_raw_formulaDTestAttributes.test_iv_policy.<locals>.MyUniform._moment_raw_formulaK  rD  rF   rq   N)r   r   r   r   rW  rF  r   r   r   s   @r7   	MyUniformr?  G  s     ## #rF   rH  rB  r  )r  r  z/Attribute `validation_policy` of `MyUniform`...r+   r   NrU  )
r#   r  r=  rA   ru   r   r  r/   r0   r  )r4   r$  r(   r.   rH  r6   s   &     r7   test_iv_policyTestAttributes.test_iv_policy:  s   a1uuQx1}}(uuRZZ^$))) zz"~rzz"~1a
;uuRZZ^$***	# 	# *=yy{k))) xxU"x-<<< D]]:W55"+A 6555s   -D??E	c                   \         P                  ! ^^R7      p\         P                  ! ^.^R7      pVP                  ^8X  g   Q hVP                  ^8X  g   Q hVP                  ^ ,          ^8X  g   Q hVP                  ^ ,          ^8X  g   Q h\        P
                  ! \        4      ;_uu_ 4        ^Vn        RRR4       ^
VP                  ^ &   VP                  ^ ,          ^8X  g   Q hR#   + '       g   i     L;; i)r   r*  N)r   r!   r+  r,  r/   r0   AttributeError)r4   r$  Ys   &  r7   test_shapesTestAttributes.test_shapesY  s    LLAQ'LLQCq) ttqyyww!||ttAw!||wwqzQ ]]>**AD + QttAw!|| +*s   .C))C9	rq   N)
r   r   r   r   r0  r8  rI  rN  r   r   r   s   @r7   r*  r*    s     ,*\1<,> rF   r*  c                   L  a  ] tR tRt o ]P
                  P                  R]! ]! ]	]
,           4      4      4      R 4       tR t]P
                  P                  ]P
                  P                  R4      ]P
                  P                  RR^ ^]P                   ! . RO4      .4      R 4       4       4       t]P
                  P                  ]P
                  P                  RR	]P                   ! . RO4      .4      ]P
                  P                  R
R	]P                   ! . RO4      .4      R 4       4       4       tR tR t]P
                  P                  ]! ^R7      ]! ]P0                  ! 4       R7      R 4       4       4       t]P
                  P                  RRR.4      R 4       tRtV tR# )TestMakeDistributionim  zi, distdatac                h   V^ ,          p0 Rmp\        \        P                  P                  RR4      4      '       g   W49   d   \        P
                  ! R4       VR9   d   R# RR	RR	/pRR
0p0 R mp0 R!mp0 R"mp	^0 R#m^R0^R0/p
RR0p\        \        V4      pVP                  '       d6   \        \        VP                  P                  R4      V^,          4      4      M/ p\        P                  P                  R4      p\        P                  ! V4      pVP!                  4        UUu/ uF  w  ppV\        P"                  ! VV.4      bK!  	  pppV! R$/ VB pV! R$/ VB pVP%                  ^
VR7      pVP'                  V4      pVP                  VR4      pRp\        P(                  ! RRR7      ;_uu_ 4        VP                  R4      w  pppp\+        VP-                  4       VP-                  4       4       W69  d+   \+        VP/                  4       VP/                  4       VR7       \1        V\        P2                  4      '       d?   \+        \        P4                  ! VP7                  4       4      VP/                  4       VR7       \+        VP9                  4       VP9                  4       VR7       \+        VP;                  4       VVVR7       \+        VP=                  4       VVVR7       W79  d   \+        VP?                  4       VVVR7       W89  d    \+        VPA                  RR7      VVVR7       \1        V\        PB                  4      '       dZ   \+        VPE                  V4      VPE                  V4      VR7       \+        VPG                  V4      VPG                  V4      VR7       MX\+        VPI                  V4      VPI                  V4      VR7       \+        VPK                  V4      VPK                  V4      VR7       \+        VPM                  V4      VPM                  V4      VR7       \+        VP'                  V4      VP'                  V4      VR7       W99  d-   \+        VPO                  V4      VPQ                  V4      VR7       \+        VPS                  V4      VPU                  V4      VR7       VP-                  4       w  pp\        PV                  ! VV4      w  ppVPY                  V4      pVV^ 8H  ,          VV^ 8H  &   VP[                  V4      pVV^8H  ,          VV^8H  &   \+        VP]                  V4      VVR7       \+        VP_                  V4      VVR7       \a        ^4       FJ  p W:P                  V / 4      9  g   K  \+        VPc                  V RR7      VPc                  V 4      VVR7       KL  	  \a        ^^4       FH  p W;9  g   K  \+        VPc                  V RR7      VP                  RV ^,
          ,          4      VVR7       KJ  	  \1        V\        PB                  4      '       dZ   Rp!\+        VP%                  ^
V!R7      VPe                  VPf                  \        P                  P                  V!4      R7      VR7       RRR4       R# u uppi   + '       g   i     R# ; i)%r   exponpowksonekstwo	kstwobignSCIPY_XSLOW0zSkipping as XSLOWNgh㈵>pearson3invgammaparetor      s4XF r  r   gHz>r-  r   r   mvskr4  )r5  r  excessr  r  r  r  l   1XS+- )r<   random_state>   argusrT  rU  kappa4rS  genexpongompertz	exponweib	johnsonsbrV  	powernormnorminvgausspowerlognormrecipinvgaussvonmises_linestudentized_range>   vonmises	hypergeomlevy_stablepoisson_binomnchypergeom_fishernchypergeom_wallenius>   rT  rS  rr  >   chirT  rU  rS  rZ  rf  rr  >   triangarcsinedlaplace	trapezoid
skewcauchy>   levyrw   levy_l
foldcauchy
halfcauchyrq   )4r  osenvironr   r/   r  r8  r   rJ   r3   zipsplitrA   r   r   make_distributionr  ru   r   r  r   r   r  r   r  rv_discreter  r   r   r   r   r   r  rv_continuousr  r  logpmfpmfr  r  logsfr  sfr  ppfisfr   r  r  r  rvsr  )"r4   r   distdatadistnamer   custom_tolerancesskip_entropyskip_skewnessskip_kurtosisskip_logccdfskip_rawskip_standardizedr   rX  r   CustomDistributionkeyvalr$  rM  r:   r   r5  r  mvskr(   rx  ref_ppfref_isfr  r   s"   &&&                               r7   test_rv_generic$TestMakeDistribution.test_rv_genericn  s(   A;! 2::>>-5668;KKK+, 
 
  %dGT:#Z0F2$Nz
|% (1uh'DHKKKc$++++D18A;?@UWii##$45"44T:>DllnMn(#s#rzz3*--nM((N6NHH23H'EE!H $$Xt4[[(;;JAq!QAIIK5+		QYY[tD!U..//  q||~ 6		$OAHHJ
>AFFHad>AJJL!$TB,

adF,

h
 ?%)6$ 3 344QXXa[tDa!%%(>QXXa[tDa!%%(>AHHQK!4@AEE!HaeeAhT:+		!aggajtDAFF1IqttAwT: 99;DAq&&q!,DAqeeAhGQiGAFOeeAhGQiGAFOAFF1IwT:AGGAJd;q<<r#::#AHHUH$?$%HHUO$TK " q!4#AHHUH$H$%GGF57O$<4dT % $ 3 344 'rt < !17735993H3H3N !& !P%)+k <; N <;;s!   )%Z9OZ AZ B:Z  Z1	c           
        \         P                  P                  R 4      p ! R R4      p\        P                  ! V! 4       4      pV! R\         P
                  R7      p\        P                  ! \        RRR7      4      p\        V4      R\         P
                   R28X  g   Q h\        V4      R\         P
                   R	28X  g   Q hVP                  ^
VR
7      pVP                  V4      p\        VP                  4       VP                  4       4       \        VP                  4       VP                  4       4       \        VP                  4       VP                  4       4       \        VP!                  V4      VP!                  V4      4       \        VP#                  V4      VP#                  V4      4       \        VP%                  V4      VP%                  V4      4       \        VP                  V4      VP                  V4      4       \        VP'                  V4      VP'                  V4      4       \        VP)                  V4      VP)                  V4      4       \        VP+                  V4      VP+                  V4      4       \        VP-                  V4      VP-                  V4      4       R FA  p\/        ^4       F/  p	\        VP1                  WR7      VP1                  WR7      4       K1  	  KC  	  R FS  p
\/        ^^4       F@  p	V
'       d
   V	^8  d   K  \        VP3                  WR7      VP3                  WR7      4       KB  	  KU  	  VP                  ^
^ RR7      pVP                  ^
^ RR7      p\        W4       \         P4                  ! W8H  4      '       d   Q h\        VP7                  RR7      VP7                  RR7      4       VP7                  RR7      VP7                  RR7      8X  d   Q h\        VP3                  RR7      VP3                  RR7      4       VP3                  RR7      VP3                  RR7      8X  d   Q hR# )r\  c                   t   a  ] tR tRt o ]R 4       t]R 4       t]R 4       tR tRR/R lt	RR	 lt
R
 tRtV tR# )6TestMakeDistribution.test_custom.<locals>.MyLogUniformi  c                    R # 1.16.0rq   r4   s   &r7   __make_distribution_version__TTestMakeDistribution.test_custom.<locals>.MyLogUniform.__make_distribution_version__      rF   c                ^    R R^ \         P                  3RR/RRR \         P                  3RR//# )r(   r*   r?   r.   FFrA   r   r  s   &r7   r  ATestMakeDistribution.test_custom.<locals>.MyLogUniform.parameters  s:    kArvv;^TkC=+~VX XrF   c                
    R R/# )r*   r-   rq   r  s   &r7   r  >TestMakeDistribution.test_custom.<locals>.MyLogUniform.support  s    #Z00rF   c                    ^V\         P                  ! V4      \         P                  ! V4      ,
          ,          ,          # r   rA   r   )r4   r:   r(   r.   s   &&&&r7   r  :TestMakeDistribution.test_custom.<locals>.MyLogUniform.pdf  s'    ARVVAY!6788rF   r   Nc                   VP                  VR 7      p\        P                  ! \        P                  ! V4      V\        P                  ! V4      \        P                  ! V4      ,
          ,          ,           4      # )r;   )r   rA   r  r   )r4   r  r(   r.   r   r   s   &&$$$ r7   r   =TestMakeDistribution.test_custom.<locals>.MyLogUniform.sample  sH    KKUK+vvbffQi!rvvay266!9/D*EEFFrF   c                   V^8X  d:   VR8X  d1   WC,
          \         P                  ! WC,          4      ,          R,           # R# R# )r   r  g|=Nr  )r4   r  r  r(   r.   s   &&&$$r7   r  =TestMakeDistribution.test_custom.<locals>.MyLogUniform.moment  s4    A:$%- ERVVAC[0588 #0:rF   c                  \         P                  ! W2,          4      pW2,
          V,          pV^,
          V,          V^,           V,          ,           V^,          ,          pV^,          ^V,          ,
          ^,           V,          V^,          ^V,          ,           ^,           V,          ,
          V^,          ,          pV^,          ^V^,          ,          ,
          ^<V,          ,           ^x,
          V,          V^,          ^V^,          ,          ,           ^<V,          ,           ^x,           V,          ,           V^,          ,          p^V^V^V^V/p	V	P                  \        V4      R4      # )rp   N)rA   r   r   r  )
r4   r  r(   r.   r  l1l2l3l4lss
   &&$$      r7   r  >TestMakeDistribution.test_custom.<locals>.MyLogUniform.lmoment  s   FF13Keq[1ukQUaK/1a47!taczB!+q!taczB!.CCqAvM!tbAg~1,s2a7A1a4"Q$.49:=>!VDQAr1b1vvc%j$//rF   rq   )r  )r   r   r   r   propertyr  r  r  r  r   r  r  r   r   r   s   @r7   MyLogUniformr    sc         X X 1 19G G90 0rF   r  r  r-   r  zMyLogUniform(a=1.0, b=r   z-MyLogUniform(a=np.float64(1.0), b=np.float64(z))r]  r  r  r0  )r  r   r2  rw  r1  r   r  Nr  r  r  r@   )rA   r   r   r   r  er  r#   r   reprr   r  r   r  r   r   r  r  r  r  r  r   r  r  r  r  re  r   )r4   r   r  
LogUniformr$  rM  r:   r   r  r  r  sample_formulasample_inverses   &            r7   test_custom TestMakeDistribution.test_custom  s.   ii##$45#	0 #	0J ,,\^<
rtt$IIgb)*1v1"$$q9999AwI"$$rRRRRHH23H'EE!H		QYY[1		QYY[1
AHHJ/QXXa[1a!%%(+QXXa[1a!%%(+		!aiil3q	166!9-q	166!9-
AGGAJ/6Dq : ! :< " 7 )Kq!519		%	 I !		%	 IK % ) )D:MN766.:;;;;i0!&&&2MN666+qvv\v/JJJJ			3		):	;	=99I9.!))CT)2UUUUUrF   zignore::RuntimeWarningr  c                   \         P                  P                  R 4      p ! R R4      p\        P                  ! V! 4       4      p\        P                  ! \        P
                  4      pV! V^ ^R7      pV! VR7      pVP                  ^
VR7      pVP                  V4      p	\        VP                  4       VP                  4       4       \        VP                  4       VP                  4       RR7       \        VP                  4       VP                  4       4       \        VP                  V4      VP                  V4      4       \        VP                  V4      VP                  V4      4       \        VP                  V4      VP                  V4      4       \        VP                  V4      VP                  V4      4       \        VP                  V4      VP                  V4      4       \        VP!                  V4      VP!                  V4      4       \        VP#                  V	4      VP#                  V	4      4       \        VP%                  V	4      VP%                  V	4      4       R# )	r\  c                   \   a  ] tR tRt o ]R 4       t]R 4       t]R 4       tR tR t	Rt
V tR# )	GTestMakeDistribution.test_custom_variable_support.<locals>.MyGenExtremei5  c                    R # r  rq   r  s   &r7   r  eTestMakeDistribution.test_custom_variable_support.<locals>.MyGenExtreme.__make_distribution_version__6  r  rF   c           	         R R\         P                  ) \         P                  3RR/RR\         P                  ) \         P                  3RR/RR^ \         P                  3RR//# )r  r*   r?   r+  r,  r  r  r  s   &r7   r  RTestMakeDistribution.test_custom_variable_support.<locals>.MyGenExtreme.parameters:  s^     +'8+~V;"&&"&&(9;WkArvv;^T rF   c                    R  pR pRW3RR/# )c                     \         P                  ! WV4      w  rp\         P                  ! V 4      p\         P                  ) W0^ 8  &   W^ 8  ,          W ^ 8  ,          W ^ 8  ,          ,          ,           W0^ 8  &   VR,          # r   rq   rA   r  
empty_liker   r  r+  r,  results   $$$ r7   left]TestMakeDistribution.test_custom_variable_support.<locals>.MyGenExtreme.support.<locals>.leftD  sh    #%#6#6qe#DLA5]]1-F&(ffWF6N$&1uI!eqQx0G$GFq5M!":%rF   c                     \         P                  ! WV4      w  rp\         P                  ! V 4      p\         P                  W0^ 8*  &   W^ 8  ,          W ^ 8  ,          W ^ 8  ,          ,          ,           W0^ 8  &   VR,          # r  r  r  s   $$$ r7   right^TestMakeDistribution.test_custom_variable_support.<locals>.MyGenExtreme.support.<locals>.rightK  sf    #%#6#6qe#DLA5]]1-F%'VVF6N$&1uI!eqQx0G$GFq5M!":%rF   r*   r?   r  rq   )r4   r  r  s   &  r7   r  OTestMakeDistribution.test_custom_variable_support.<locals>.MyGenExtreme.supportB  s    && $d]KPPrF   c                  \         P                  ! WW44      w  rr4\         P                  ! V4      pV^ 8H  p\         P                  ! W,          W6,          ,
          ) WF,          ,          4      WV&   ^W&( ,          W( ,          W6( ,          ,
          ,          WF( ,          ,          ,
          ^W&( ,          ,          ,          WV( &   ^V,          V^V,
          ,          ,          \         P                  ! V) 4      ,          pVR,          # r  rA   r  r  r  )r4   r:   r  r+  r,  tmaskr  s   &&$$$   r7   r  KTestMakeDistribution.test_custom_variable_support.<locals>.MyGenExtreme.pdfT  s    "$"5"5aB"FbMM!$Q&&17RX#5!6u{!BC51U8bi#78uEEahJ % 51q1u:-bffaRj8bz!rF   c                  \         P                  ! WW44      w  rr4\         P                  ! V4      pV^ 8H  p\         P                  ! W,          W6,          ,
          ) WF,          ,          4      WV&   ^W&( ,          W( ,          W6( ,          ,
          ,          WF( ,          ,          ,
          ^W&( ,          ,          ,          WV( &   \         P                  ! V) 4      R,          # r  r  )r4   r:   r  r+  r,  r  r  s   &&$$$  r7   r  KTestMakeDistribution.test_custom_variable_support.<locals>.MyGenExtreme.cdf_  s    "$"5"5aB"FbMM!$Q&&17RX#5!6u{!BC51U8bi#78uEEahJ % vvqbz"~%rF   rq   N)r   r   r   r   r  r  r  r  r  r  r   r   r   s   @r7   MyGenExtremer  5  sP           Q Q"	"& &rF   r  )r  r+  r,  r  r]  gh㈵>r4  N)rA   r   r   r   r  
genextremer   r  r   r  r   r   r  r  r  r  r  r   r  )
r4   r  r   r  GenExtreme1GenExtreme2r6  r7  r:   r   s
   &&        r7   test_custom_variable_support1TestMakeDistribution.test_custom_variable_support/  s    ii##$452	& 2	&h --ln=--e.>.>?1!,1IIBCI(FF1I

bjjl3

bjjl>		RYY[1		!biil3q	266!9-		!biil3q	266!9-

1rzz!}5
BGGAJ/
BGGAJ/RXXa[1rF   r(         ?r.   c                
   \         P                  P                  R 4      p ! R R4      p\        P                  ! \        P
                  4      p\        P                  ! V! 4       4      pWV,           ,          pW,           pV! WR7      pV! WgR7      p	V! WR7      p
V
P                  ^
VR7      pV
P                  V4      p\        VP                  4       V
P                  4       4       \        VP                  4       V
P                  4       4       \        VP                  V4      V
P                  V4      4       \        VP                  V4      V
P                  V4      4       \        VP                  V4      V
P                  V4      4       \        VP                  V4      V
P                  V4      4       \        VP                  V4      V
P                  V4      4       \        V	P                  4       V
P                  4       4       \        V	P                  4       V
P                  4       4       \        V	P                  V4      V
P                  V4      4       \        V	P                  V4      V
P                  V4      4       \        V	P                  V4      V
P                  V4      4       \        V	P                  V4      V
P                  V4      4       \        V	P                  V4      V
P                  V4      4       R# )r\  c                   f   a  ] tR tRt o ]R 4       t]R 4       tR
R lt]R 4       tR t	R t
R	tV tR# )KTestMakeDistribution.test_custom_multiple_parameterizations.<locals>.MyBetai  c                    R # r  rq   r  s   &r7   r  iTestMakeDistribution.test_custom_multiple_parameterizations.<locals>.MyBeta.__make_distribution_version__  r  rF   c                z    R ^ \         P                  3R^ \         P                  3/RRR^ \         P                  3/3# )r(   r.   r+  nur   r  r  s   &r7   r  VTestMakeDistribution.test_custom_multiple_parameterizations.<locals>.MyBeta.parameters  s>     1bff+sQK864!RVV5 rF   Nc                x    Ve   Ve   Vf   Vf   W,           pW,          pMW4,          pWA,
          pRVRVRVRV/# )Nr(   r.   r+  r  rq   )r4   r(   r.   r+  r  s   &&&&&r7   process_parameters^TestMakeDistribution.test_custom_multiple_parameterizations.<locals>.MyBeta.process_parameters  sF    =Q]rzbjBBAAQQb$;;rF   c                
    R R/# )r*   r   rq   r  s   &r7   r  STestMakeDistribution.test_custom_multiple_parameterizations.<locals>.MyBeta.support  s    #V,,rF   c                B    \         P                  P                  WV4      # N)r   _ufuncs	_beta_pdfr4   r:   r(   r.   r+  r  s   &&&&&&r7   r  OTestMakeDistribution.test_custom_multiple_parameterizations.<locals>.MyBeta.pdf  s    00q99rF   c                0    \         P                  ! W#V4      # r  )r   betaincr  s   &&&&&&r7   r  OTestMakeDistribution.test_custom_multiple_parameterizations.<locals>.MyBeta.cdf  s    qQ//rF   rq   )NNNN)r   r   r   r   r  r  r  r  r  r  r  r   r   r   s   @r7   MyBetar    sS          < - -:0 0rF   r  r-   )r+  r  r]  N)rA   r   r   r   r  rx   r   r  r   r  r   r  r  r   r  )r4   r(   r.   r   r  Betar+  r  r$  rM  Zr:   r   s   &&&          r7   &test_custom_multiple_parameterizations;TestMakeDistribution.test_custom_multiple_parameterizations~  s    ii##$45	0 	0> &&uzz2((2a%[UQb 1NHH23H'EE!H		QYY[1
AHHJ/a!%%(+a!%%(+q	166!9-q	166!9-
AGGAJ/		QYY[1
AHHJ/a!%%(+a!%%(+q	166!9-q	166!9-
AGGAJ/rF   c                `   R p\         P                  ! \        VR7      ;_uu_ 4        \        P                  ! \        P
                  4       RRR4       Rp\         P                  ! \        VR7      ;_uu_ 4        \        P                  ! \        P                  4       RRR4       Rp\         P                  ! \        VR7      ;_uu_ 4        \        P                  ! \        4       4       RRR4       R#   + '       g   i     L; i  + '       g   i     Lr; i  + '       g   i     R# ; i)z`levy_stable` is not supported.r+   Nz`vonmises` is not supported.z&The argument must be an instance of...)	r/   r0   r  r   r  ro  rm  r  r  r4   r6   s   & r7   r  *TestMakeDistribution.test_input_validation  s    3]].g>>##E$5$56 ? 1]].g>>##ENN3 ? ;]]:W55##FH- 65 ?> ?> 655s#   %C6:%D	D6D		D	D-	c                   ^ RI Hp VP                  4        F  p\        \        V4      '       d   K  Q h	  \        P
                  ! \        P                  4      p\        V! ^R7      4      R8X  g   Q h\        V! ^R7      4      R8X  g   Q hRVP                  9   g   Q h\        P
                  ! \        P                  4      p\        V! ^R7      4      R8X  g   Q h\        V! ^R7      4      R8X  g   Q hR	VP                  9   g   Q hR
# )r   )_distribution_namesr  zGamma(a=2.0)zGamma(a=np.float64(2.0))Gamma)rx   zHalfGeneralizedNormal(beta=2.0)z+HalfGeneralizedNormal(beta=np.float64(2.0))HalfGeneralizedNormalN)(scipy.stats._distribution_infrastructurer  keyshasattrr   r  gammar   r  __doc__halfgennorm)r4   r  r   s   &  r7   test_repr_str_docs'TestMakeDistribution.test_repr_str_docs  s    P',,.D5$'''' / &&u{{34!9~///D1I"<<<<$,,&&&&&u'8'894Q< $EEEEDaL!%RRRR&$,,666rF   r   )rM   c                  aaa \         P                  P                  R 4      p\        \         P                  ! VP                  ^4      4      4      o\        \         P                  ! VP                  ^4      ^,          4      4      o\        \         P                  ! VP                  ^4      4      4      o ! VVV3R lR4      p\        P                  ! V! 4       4      pRp\        WAW%^R7      pVw  rxrrrS^ ,          \         P                  ! VP                  4      8  d-   \         P                  ! VP                  4      S^,          8  g   Q hS^ ,          \         P                  ! VP                  4      8  d-   \         P                  ! VP                  4      S^,          8  g   Q hS^ ,          \         P                  ! V4      8  d#   \         P                  ! V4      S^,          8  g   Q hR# )l   94-'+ c                      <a  ] tR tRt o RtRR]P                  ) ]P                  3R Z/RR^ ]P                  3R Z//tR]P                  ) ]P                  3R Z/tR t	Rt
V tR	# )
=TestMakeDistribution.test_draw_distribution.<locals>.MyNormali  r  ur*   r   r  c                    ^\         P                  ! ^\         P                  ,          4      ,          V,          \         P                  ! W,
          V,          ^,          ) ^,          4      ,          # r  rA   sqrtrB   r  )r4   r:   r  r  s   &&&&r7   r  ATestMakeDistribution.test_draw_distribution.<locals>.MyNormal.pdf  sA    2771RUU7++a/"&&AC7Q,q2IIIrF   rq   N)r   r   r   r   r  rA   r   r  r  r  r   r   )r   	s_typical	u_typical	x_typicals   @r7   MyNormalr    so     ,4)rvvgrvv->	9Ua[)YOQJ"bffWbff$5y)LGJ JrF   r!  r   N)r  r  r  r  )rA   r   r   r   sortstandard_normalr   r  r   minr  maxr  )r4   rM   r   r!  r   r   r   r   r:   r   r   r   r_   r   r   r  r  r   s   &&             @@@r7   test_draw_distribution+TestMakeDistribution.test_draw_distribution  sQ    ii##$78"''#"5"5a"89:	"''#**Q-/23	"''#"5"5a"89:		J 	J ((4'+F#UVWMPJt>|bffTVVn,)A,1NNN|bffTVVn,)A,1NNN|bffQi'BFF1I	!,DDD,DrF   r   Nc                   a  ! V3R  lR4      p\         P                  ! V! 4       4      pV! 4       pVP                  4       \        P                  ) \        P                  38X  g   Q hR# )c                   v   <a  ] tR tRt o Rt Zf   / M ZtR]P                  ) ]P                  3/tR t	Rt
V tR# )ATestMakeDistribution.test_no_parameters.<locals>.MyStandardNormali  r  Nr*   c                    ^\         P                  ! ^\         P                  ,          4      ,          \         P                  ! V^,          ) ^,          4      ,          # r  r  r4   r:   s   &&r7   r  ETestMakeDistribution.test_no_parameters.<locals>.MyStandardNormal.pdf  s5    2771RUU7++bffadU1Wo==rF   rq   )r   r   r   r   r  r  rA   r   r  r  r   r   )r   r   s   @r7   MyStandardNormalr*    s9     ,4) yaJ"bffWbff$56G> >rF   r.  N)r   r  r  rA   r   )r4   r   r.  r   r$  s   &f   r7   test_no_parameters'TestMakeDistribution.test_no_parameters  sN    	> 	> 001A1CDyy{w////rF   rq   rU  )g r4  r  r  g @)r  r  r<  g      @g       @)r   r   r   r   r/   r   r   r   	enumerater   r   r  r  r   filterwarningsrA   ru   r  r  r  r  r
   r   r   rM   r&  r/  r   r   r   s   @r7   rQ  rQ  m  s    [[]D8l;R1S,TUf+ Vf+PTVp [[[[ 89[[S2q!RZZ8P-Q"RSJ2 T : J2X [[[[S3

3L(M"NO[[S3

3L(M"NO<0 P P <0|.7 [[2

!"E #  E6 [[S4*-0 .0rF   rQ  c                   l  a  ] tR tRt o R tR t]P                  P                  ^
4      ]	! ]
P                  ! 4       ]
P                  ! ^ R7      R7      R 4       4       t]P                  P                  ^4      ]P                  P                  RRR	.4      R
 4       4       t]P                  P                  ^
4      ]P                  P                  R. RO4      ]P                  P!                  R4      R 4       4       4       t]P                  P                  ^4      R 4       tR tR tR tR tR tRtV tR# )TestTransformsi  c                    \         P                  ! ^
RR7      pRp\        P                  ! \        VR7      ;_uu_ 4        \         P
                  ! V4       RRR4       R#   + '       g   i     R# ; i)rH  r  )r  r   z@Transformations are currently only supported for continuous RVs.r+   N)r   r$   r/   r0   r  r  )r4   r$  r6   s   &  r7    test_ContinuousDistribution_only/TestTransforms.test_ContinuousDistribution_only  sF    NNR3' U]].g>>IIaL ?>>>s   A  A1	c                   \         P                  P                  R 4      pVP                  R4      pVP                  R4      p\         P                  ! W#4      \         P                  ! W#4      r2\
        P                  ! \        4       W#R7      p\
        P                  ! W#4      pVP                  R	VR7      pVP                  V4      p\        VP                  4       \         P                  ! VP                  4       R,           4      4       \        VP                  4       VP                  4       4       \        VP                  4       VP!                  R4      4       \        VP#                  4       VP#                  4       4       \        VP%                  4       VP'                  4       4       \        VP)                  4       \         P*                  ! VP'                  4       4      4       \        VP-                  4       VP                  R4      4       \        VP/                  4       VP                  R4      ^,           4       \        VP1                  4       VP1                  4       4       \        VP3                  V4      VP3                  V4      4       \        VP                  V4      VP                  V4      4       \        VP5                  V4      VP7                  V4      4       \        VP9                  V4      VP!                  V4      4       \        VP;                  V4      VP=                  V4      4       \        VP?                  V4      VP?                  V4      4       \        VPA                  V4      VPA                  V4      4       \        VPC                  V4      VPE                  V4      4       \        VPG                  \         P                  ! V4      4      VP!                  V4      4       \        VPI                  \         P                  ! V4      4      VP=                  V4      4       VPK                  ^
4      p\         PL                  ! W8  W8  ,          4      '       g   Q hR# )
   b2,' )lbubr`  r  r  r  r  Nr   r   rH  )'rA   r   r   minimummaximumr   truncater!   	truncnormr  r  r   r   r   r   r   r  r   r   r  r  r  r   r  r  r  r  r  r   r  r  r  r  r  r  r  r	  r   re  )	r4   r   r:  r;  rM  Y0r   r   r   s	   &        r7   test_truncateTestTransforms.test_truncate  s   ii##N3ZZZZB#RZZ%7BNN682__R$FF7F-FF1Irzz|b/@(AB		RZZ\2
BFF3K0"''),

bffh/,,.0AB

bhhsm4

bhhsma&78		RZZ\2a"&&),a"&&),q	2558,q	266!9-
BFF1I.RYYq\2RYYq\2		!bhhqk2		"&&),bffQi8

266!9-rvvay9"vvv{v{34444rF   r   r   c                   \         P                  P                  V4      p ! R  R\        4      p\	        WAVR^R7      pVw  rgrrrVP
                  pVP                  p\        4       p\        P                  ! WR7      p\        WR7      pW~,
          V,          pW,
          V,          pVP                  4       w  ppVP                  4       w  pp\        VVV,           4       \        VVV,           4       \         P                  ! RRR7      ;_uu_ 4        \        \         P                  ! VP                  4       4      VP!                  4       4       \        VP!                  4       VP!                  4       4       \        VP#                  4       VP#                  4       V,           4       \        VP%                  4       VP%                  4       V,           4       \        VP'                  4       VP'                  4       V,           4       \        VP)                  4       VP)                  4       V^,          ,          4       \        VP+                  4       VP)                  4       R,          4       \        VP-                  4       VP-                  4       \         P.                  ! V4      ,          4       \        VP1                  4       VP1                  4       4       \        VP3                  V4      VP3                  V4      \         P4                  ! V4      ,
          4       \        VP7                  V4      VP7                  V4      V,          4       \        VP9                  V4      VP9                  V4      4       \        VP;                  V4      VP;                  V4      4       \        VP=                  V4      VP=                  V4      4       \        VP?                  V4      VP?                  V4      4       \        VP9                  Wx4      VP9                  VV4      4       \        VP;                  Wx4      VP;                  VV4      4       \        VP=                  Wx4      VP=                  VV4      4       \        VP?                  Wx4      VP?                  VV4      4       \        VPA                  V
4      VPA                  V
4      V,          V,           4       \        VPC                  V	4      VPC                  V	4      V,          V,           4       \        VPE                  V
4      VPE                  V
4      V,          V,           4       \        VPG                  V	4      VPG                  V	4      V,          V,           4       \I        ^^4       F  p\        VPK                  VR4      VPK                  V4      4       \        VPK                  VR	4      VPK                  VR	4      VV,          ,          4       \        VPK                  VR
4      VPK                  VR
4      \         P.                  ! V4      V,          ,          4       K  	  \I        ^^4       Fh  p\        VPM                  V4      VPM                  V4      RR7       V^8  g   K8  \        VPM                  VRR7      VPM                  VRR7      RR7       Kj  	  RRR4       V^V,          ,
          V,           pWo^,          ,          V,          p\         PN                  ! VPP                  4      pVP                  4       w  ppVP                  4       w  pp\        VVV,           4       \        VVV,           4       \         P                  ! RRR7      ;_uu_ 4        \        VP                  4       VP                  4       V,           4       \        VP!                  4       VP!                  4       V,           4       \        VP#                  4       VP#                  4       V,           4       \        VP%                  4       VP%                  4       V,           4       \        VP'                  4       VP'                  4       V,           4       \        VP)                  4       VP)                  4       V,           4       \        VP+                  4       VP+                  4       V,           4       \        VP-                  4       VP-                  4       V,           4       \        VP1                  4       VP1                  4       V,           4       \        VP3                  V4      VP3                  V4      V,           4       \        VP7                  V4      VP7                  V4      V,           4       \        VP9                  V4      VP9                  V4      V,           4       \        VP;                  V4      VP;                  V4      V,           4       \        VP=                  V4      VP=                  V4      V,           4       \        VP?                  V4      VP?                  V4      V,           4       \        VPA                  V
4      VPA                  V
4      V,           4       \        VPC                  V	4      VPC                  V	4      V,           4       \        VPE                  V
4      VPE                  V
4      V,           4       \        VPG                  V	4      VPG                  V	4      V,           4       \I        ^^4       F  p\        VPK                  VR4      VPK                  VR4      4       \        VPK                  VR	4      VPK                  VR	4      4       \        VPK                  VR
4      VPK                  VR
4      4       K  	  \I        ^^4       Fd  p\        VPM                  V4      VPM                  V4      4       V^8  g   K6  \        VPM                  VRR7      VPM                  VRR7      4       Kf  	  RRR4       R#   + '       g   i     ELq; i  + '       g   i     R# ; i)c                   2   a a ] tR tRt oV 3R ltRtVtV ;t# )8TestTransforms.test_loc_scale.<locals>.TransformedNormali>  c                @   < \         SV `  ! \        4       .VO5/ VB  R # r  )rV  __init__r   )r4   r  r#  rZ  s   &*,r7   rI  ATestTransforms.test_loc_scale.<locals>.TransformedNormal.__init__?  s     !1CDCFCrF   rq   )r   r   r   r   rI  r   r   r\  r]  s   @@r7   TransformedNormalrG  >  s     D DrF   rK  )r   rI   )locscaler*  r   r   r  r  r  r  g:0yE>r  Tr  N)r   r   r   r   ))rA   r   r   r   r   rL  rM  r   r   normr!   r  r   r   r  r   r   r   r   r   r   r  r   signr  r  r   r  r  r  r  r  r  r   r	  r  r  r  r  r  r  )r4   rM   r   r   rK  r   r   r:   r   r   r   r_   r   r   rL  rM  dist0dist_refdist_ref_lmomentx0y0r(   r.   a0b0r   zs   &&&                        r7   test_loc_scaleTestTransforms.test_loc_scale8  sM    ii##D)	D 9 	D ,SlQPMPJt>hh

 ::#3!S6gg||~1B28$28$[[(;;BFF4??#45t||~FDLLNH,<,<,>?DKKM5<<>C+?@DIIK);<DIIK);<DMMOU^^-=q-HID335t}}7KLDMMOU^^-=-NODMMOU^^-=>DKKNELL,<rvve},LMDHHQK2)>?DKKNELL,<=DHHQK27DLLOU]]2->?DIIaL%**R.9DKK-u||B/CDDHHQNEIIb",=>DLL.b"0EFDIIaOUZZB-?@DLL.d0CE0IC0OPDIIaL%**Q-*=*CDDMM$/1Ee1Kc1QRDJJqM5;;q>%+?#+EF1a[Au 5xq7IJAy 9 %Q	 :UAX EGA~ > %Q ?"''%.RSBS SU	 ! 1a[Q1A1I1I!1LSWX6#DLLL$E$4$<$<QD$<$Q)-/ != <N qu#1H}u$HHT[[!||~1B26"26"[[(;;DOO-u/?/?/AA/EFDLLNEMMOa,?@DKKM5<<>A+=>DIIK)9:DIIK)9:DMMOU^^-=-ABD335u7O7O7QTU7UVDMMOU^^-=-ABDMMOU^^-=-ABDKKNELLOA,=>DHHQK1)9:DKKNELLOa,?@DHHQK1)9:DLLOU]]1-=-ABDIIaL%**Q-!*;<DLL.d0Ca0GHDIIaL%**Q-!*;<DMM$/1E1IJDJJqM5;;q>A+=>1a[Au 5u||Au7MNAy 95<<9;UVA~ > %Q ?A !
 1a[Qq1AB6#DLLL$E$)MM!M$FH !3 <;a <;;` <;;s&   U1p&
4p&?Q&p:*2p:&p7	:q	exp_powr  powc           	     	   \         P                  P                  R 4      pVP                  R
4      pVP                  R
4      p\        4       V,          V,           pVR8X  d   \        P
                  ! V4      pM\         P                  V,          p\        P                  ! V\         P
                  ! V4      R7      pVP                  RVR7      pVP                  V4      p	\        VP                  4       \         P                  ! VP                  4       4      4       \        VP                  4       VP                  4       4       \        VP                  4       VP                  R4      4       \        VP!                  4       VP!                  4       4       \        VP#                  4       VP%                  4       4       \        VP'                  4       \         P(                  ! VP%                  4       4      4       \        VP+                  4       VP	                  R4      4       \        VP-                  4       VP	                  R4      ^,           4       \        VP/                  4       VP/                  4       4       \        VP1                  V4      VP1                  V4      4       \        VP                  V4      VP                  V4      4       \        VP3                  V4      VP5                  V4      4       \        VP7                  V	4      VP                  V	4      4       \        VP9                  V	4      VP;                  V	4      4       \        VP=                  V4      VP=                  V4      4       \        VP?                  V4      VP?                  V4      4       \        VPA                  V4      VPC                  V4      4       \        VPE                  \         P                  ! V	4      4      VP                  V	4      4       \        VPG                  \         P                  ! V	4      4      VP;                  V	4      4       Rp
\        VPI                  V
R7      \         P
                  ! VPI                  V
R7      4      4       R	# )r9  r  )rM  r<  r  r  r     M [ r   Nr   r=  )%rA   r   r   r!   r   r  r  lognormr  r  r   r   r   r   r   r  r   r   r  r  r  r   r  r  r  r  r  r   r  r  r  r  r  r  r  r	  r   )r4   rZ  r   r+  r,  r$  rM  rB  r   r   r   s   &&         r7   test_exp_powTestTransforms.test_exp_pow  s    ii##N3ZZ

6"HUNRe		!A	A]]5r
3FF7F-FF1Irzz|(<=		RZZ\2
BFF3K0"''),

bffh/,,.0AB

bhhsm4

bhhsma&78		RZZ\2a"&&),a"&&),q	2558,q	266!9-
BFF1I.RYYq\2RYYq\2		!bhhqk2		"&&),bffQi8

266!9-rvvay9T*BFF18883E,FGrF   rM  z/`scale=-1` fails on 32-bit; needs investigationc                n   \         P                  P                  R 4      pVP                  R4      p\         P                  ! V4      \	        V4      r\
        P                  ! \
        P                  4      pWA,          V! VR7      ,          pV^ 8  d   \        VR7      M\        VR7      ) pW,          pVP                  R	VR7      p	VP                  V	4      p
\         P                  ! V
4      p\        VP                  4       \         P                  ! VP                  4       4      4       \        VP                  4       VP                  4       4       \        VP                  4       VP                  4       4       \        VP!                  4       VP!                  4       4       \        VP#                  V	4      VP#                  V	4      4       \        VP                  V	4      VP                  V	4      4       \        VP%                  V	4      VP%                  V	4      4       \        VP'                  V
4      VP'                  V
4      4       \        VP)                  V
4      VP)                  V
4      4       \        VP+                  V	4      VP+                  V	4      4       \        VP-                  V	4      VP-                  V	4      4       \        VP/                  V	4      VP/                  V	4      4       \         P0                  ! RRR7      ;_uu_ 4        \        VP3                  V4      VP3                  V4      4       \        VP5                  V4      VP5                  V4      4       RRR4       Rp\        VP                  VR7      WP                  VR7      ,          4       R#   + '       g   i     LF; i)
r9  r  r]  r   r   Nr]  r   r   r=  )rA   r   r   rO  r5  r   r  rZ  r   r   r  r   r   r   r   r   r  r  r  r   r  r  r  r  r   r  r	  )r4   rM  r   r(   rO  InvGammarB  r$  rM  r   r   r   r   s   &&           r7   test_reciprocalTestTransforms.test_reciprocal  s^    ii##N3JJv
 ggenc%je **5>>:\HqM)  !8FQK&1+IIIGI-FF1Ivvayrzz|(<=		RZZ\2
BIIK0		RZZ\2a"&&),a"&&),q	2771:.q	2771:.
BHHQK0RYYq\2RYYq\2		!bjjm4[[(;;AIIdORZZ-=>AJJt,bkk$.?@ < T*E8883E,FG	 <;s   AN$$N4	c           	        \         P                  P                  R 4      pVP                  R4      p\        VR7      p\        P
                  ! V4      p\        P                  ! V4      pVP                  RVR7      pVP                  V4      p\        VP                  4       \         P                  ! VP                  4       4      4       \        VP                  4       VP                  4       4       \        VP                  4       VP                  R4      4       \        VP                  4       VP                  4       4       \        VP                  4       VP!                  4       4       \        VP#                  4       \         P$                  ! VP!                  4       4      4       \        VP'                  4       VP	                  R4      4       \        VP)                  4       VP	                  R4      ^,           4       \        VP+                  4       VP+                  4       4       \        VP-                  V4      VP-                  V4      4       \        VP                  V4      VP                  V4      4       \        VP/                  V4      VP1                  V4      4       \        VP3                  V4      VP                  V4      4       \        VP5                  V4      VP7                  V4      4       \        VP9                  V4      VP9                  V4      4       \        VP;                  V4      VP;                  V4      4       \        VP=                  V4      VP?                  V4      4       \         P@                  ! RR7      ;_uu_ 4        \        VPC                  \         P                  ! V4      4      VP                  V4      4       \        VPE                  \         P                  ! V4      4      VP7                  V4      4       RRR4       R	p\        VPG                  VR
7      \         P                  ! VPG                  VR
7      4      4       R#   + '       g   i     LT; i)r9  r  r<  r  r  r  r   )r   Nr]  r   r   r=  )$rA   r   r   r   r   loggammar   r  r  r   r   r   r   r  r   r   r  r  r  r   r  r  r  r  r  r   r  r  r  r  r  r  r   r  r	  r   )	r4   r   r(   r$  rB  rM  r   r   r   s	   &        r7   test_logTestTransforms.test_log  s   ii##N3JJvQK^^AIIaLFF7F-FF1Irzz|(<=		RZZ\2
BFF3K0"''),

bffh/,,.0AB

bhhsm4

bhhsma&78		RZZ\2a"&&),a"&&),q	2558,q	266!9-
BFF1I.RYYq\2RYYq\2		!bhhqk2[[**AIIbffQi0"&&)<AJJrvvay1266!9= + T*BFF18883E,FG	 +*s   A=QQ/	c                   \        ^^R7      pRp\        \        P                  ! V4      4      RV R28X  g   Q h\        ^V,          4      RV R28X  g   Q h\        \        P                  ! V4      4      RV R28X  g   Q h\        R^R7      pRp\
        P                  ! \        VR7      ;_uu_ 4        ^V,           R	R	R	4       R
p\
        P                  ! \        VR7      ;_uu_ 4        \        P                  ! V4       R	R	R	4       Rp\
        P                  ! \        VR7      ;_uu_ 4        RV,           R	R	R	4       \
        P                  ! \        VR7      ;_uu_ 4        ^V,           R	R	R	4       \
        P                  ! \        VR7      ;_uu_ 4        RR.V,           R	R	R	4       Rp\
        P                  ! \        VR7      ;_uu_ 4        VR,           R	R	R	4       \
        P                  ! \        VR7      ;_uu_ 4        V^ ,           R	R	R	4       \
        P                  ! \        VR7      ;_uu_ 4        VRR.,           R	R	R	4       R	#   + '       g   i     EL; i  + '       g   i     ELs; i  + '       g   i     ELO; i  + '       g   i     EL-; i  + '       g   i     EL	; i  + '       g   i     L; i  + '       g   i     L; i  + '       g   i     R	# ; i)r   r-   zUniform(a=1.0, b=2.0)zlog(r   z1/(zexp(z=Division by a random variable is only implemented when the...r+   NzBThe logarithm of a random variable is only implemented when the...z@Raising an argument to the power of a random variable is only...r        ?z=Raising a random variable to the power of an argument is onlyrU  )r#   r   r   r   r  r/   r0   r  )r4   r$  X_strr6   s   &   r7   test_monotonic_transforms(TestTransforms.test_monotonic_transforms  s    a1'599Q< d5'O3331q5zs5'^+++599Q< d5'O333bAQ]].g>>E ?V]].g>>IIaL ?T]].g>>AI ?]].g>>F ?]].g>>#J!O ? R]].g>>"I ?]].g>>F ?]].g>>#sO ?>% ?>> ?>> ?>>>>>>>> ?>>>>>>s`   4
I,I-1
J'
JJ)
J=
KK#I*	-I>	J	J&	)J:	=K	K 	#K4	c                   \         P                  P                  R 4      pRw  r#rEVP                  R^^d4      p\	        W#R7      pWW,          V,           p\        VP                  V4      VP                  Wd,
          V,          4      4       WGV,          ,           p\        VP                  V4      VP                  Wd,
          V,          4      4       Wu,          V,
          p\        VP                  V4      VP                  Wd,           V,          4      4       V\	        W#R7      V,          ,
          p\        VP                  V4      VP                  V) V,           V,          4      4       R# )l   lO[5 r-   N)g7A`?gq=
ףp?g=
ףp=?g(\?)rA   r   r   r   r   r   r  r  )	r4   r   r(   r.   rL  rM  r:   rM  r$  s	   &        r7   test_arithmetic_operators(TestTransforms.test_arithmetic_operatorsA  s    ii##$782cKKAs#!!GcMa!%%E(9":;E'Ma!%%E(9":;GcMa!%%E(9":;q&u,,a!&&1"s(E)9":;rF   c                b   \         P                  P                  R 4      pVP                  R4      p\        P                  ! \        4       V,           4      p\        P                  ! V4      pVP                  RVR7      pVP                  V4      p\        VP                  4       \         P                  ! VP                  4       R,           4      4       \        VP                  4       VP                  4       4       \        VP                  4       VP                  R4      4       \        VP                  4       VP                  4       4       \        VP!                  4       VP#                  4       4       \        VP%                  4       \         P&                  ! VP#                  4       4      4       \        VP)                  4       VP                  R4      4       \        VP+                  4       VP                  R4      ^,           4       \        VP-                  4       VP-                  4       4       \        VP/                  V4      VP/                  V4      4       \        VP                  V4      VP                  V4      4       \        VP1                  V4      VP3                  V4      4       \        VP5                  V4      VP                  V4      4       \        VP7                  V4      VP9                  V4      4       \        VP;                  V4      VP;                  V4      4       \        VP=                  V4      VP=                  V4      4       \        VP?                  V4      VPA                  V4      4       \        VPC                  \         P                  ! V4      4      VP                  V4      4       \        VPE                  \         P                  ! V4      4      VP9                  V4      4       VPG                  ^
4      p\         PH                  ! V^ 8  4      '       g   Q hR# )	r9  r<  r  r  r  r  Nr   r=  )%rA   r   r   r   r5  r!   foldnormr  r  r   r   r   r   r   r  r   r   r  r  r  r   r  r  r  r  r  r   r  r  r  r  r  r  r  r	  r   re  )r4   r   rL  rM  rB  r   r   r   s   &       r7   test_absTestTransforms.test_absS  s   ii##N3jj IIfhn%^^C FF7F-FF1Irzz|b/@(AB		RZZ\2
BFF3K0"''),

bffh/,,.0AB

bhhsm4

bhhsma&78		RZZ\2a"&&),a"&&),q	2558,q	266!9-
BFF1I.RYYq\2RYYq\2		!bhhqk2		"&&),bffQi8

266!9-rvvay9"vvfqj!!!!rF   c                p   \         P                  ! \         P                  4      pV! ^R7      p\        V) 4      p\	        VP                  ^4      VP                  ^4      4       \	        VP                  ^4      VP                  ^4      4       \	        VP                  ^4      VP                  ^4      4       \	        VP                  ^4      VP                  ^4      4       \	        VP                  ^4      VP                  ^4      4       \	        VP                  ^4      VP                  ^4      4       R# )rp   r  N)r   r  weibull_minr5  r   r  r  r  r  r  r  )r4   Weibullr$  rM  s   &   r7   test_abs_finite_support&TestTransforms.test_abs_finite_supports  s     ))%*;*;<aLGQXXa[!((1+.QUU1XquuQx(QXXa[!((1+.QUU1XquuQx(QYYq\199Q<0QVVAYq	*rF   c                    \         P                  P                  R 4      p\        4       ^,          p\        P
                  ! ^R7      pVP                  ^
VR7      pVP                  V4      p\        VP                  4       \         P                  ! VP                  4       R,           4      RR7       \        VP                  4       VP                  4       RR7       \        VP                  4       VP                  4       4       \        VP                  4       VP                  4       4       \        VP                  4       VP                  4       4       \        VP!                  4       \         P"                  ! VP                  4       4      4       \        VP%                  4       VP	                  R4      4       \        VP'                  4       VP	                  R4      ^,           4       \        VP)                  4       VP)                  4       4       \        VP+                  V4      VP+                  V4      4       \        VP                  V4      VP                  V4      4       \        VP-                  V4      VP/                  V4      4       \        VP1                  V4      VP3                  V4      4       \        VP5                  V4      VP7                  V4      4       \        VP9                  V4      VP9                  V4      4       \        VP;                  V4      VP;                  V4      4       \        VP=                  V4      VP?                  V4      4       \        VPA                  \         P                  ! V4      4      VP3                  V4      4       \        VPC                  \         P                  ! V4      4      VP7                  V4      4       VPE                  ^
4      p\         PF                  ! V^ 8  4      '       g   Q hR# )	r9  )dfr<  r  r  r4  r  r  N)$rA   r   r   r!   r   chi2r  r  r   r   r   r   r   r   r   r  r  r  r   r  r  r  r  r  r   r  r  r  r  r  r  r  r  r	  r   re  )r4   r   rM  rB  r   r   r   s   &      r7   test_powTestTransforms.test_pow  sw   ii##N3HaKZZ1FF2CF(FF1Irzz|b/@(AM		RZZ\=
BIIK0"''),

bffh/,,.0AB

bhhsm4

bhhsma&78		RZZ\2a"&&),a"&&),q	2558,q	266!9-
BFF1I.RYYq\2RYYq\2		!bhhqk2		"&&),bffQi8

266!9-rvvay9"vvfqj!!!!rF   rq   N)r   rp   rU  )r   r   r   r   r6  rC  r/   r   rt  r   r   rM   r   rX  r   r_  xfail_on_32bitrc  rg  rm  rq  ru  rz  r  r   r   r   s   @r7   r4  r4    s;     5D [[2

!
(;(;a(HIgH J gH` [[1[[Y7#H 8 #HL [[2[[Wj1[[ QR&H S 2 &HP [[1H HB D<$"@+" "rF   r4  c                   n   a  ] tR tRt o ]P
                  P                  ^4      R 4       tR tR t	Rt
V tR# )TestOrderStatistici  c           	        \         P                  P                  R 4      p\        ^ ^R7      p^p\         P                  ! ^.^.^..4      p\
        P                  ! W#VR7      p\
        P                  ! WC^,           V,
          4      pVP                  RVR7      pVP                  V4      p\        \         P                  ! VP                  4       4      VP                  4       4       \        VP                  4       VP                  4       4       \        VP                  4       VP                  4       4       \        VP                  4       VP!                  4       4       \        VP#                  4       VP                  R4      RR7       \        VP%                  4       VP                  R4      ^,           RR7       \        VP'                  4       VP)                  R4      4       \        VP+                  4       VP+                  4       4       \        VP-                  V4      VP-                  V4      4       \        VP                  VR	R
7      VP                  VRR
7      4       \        VP/                  VR	R
7      VP/                  VRR
7      4       \        VP1                  VR	R
7      VP1                  VRR
7      4       \        VP3                  VR	R
7      VP3                  VRR
7      4       \        VP5                  V4      VP5                  V4      4       \        VP7                  V4      VP7                  V4      4       \        VP9                  V4      VP;                  V4      4       \         P<                  ! RRR7      ;_uu_ 4        \        VP?                  \         P@                  ! V4      4      VP)                  V4      4       \        VPC                  \         P@                  ! V4      4      VPE                  V4      4       RRR4       Rp	\F        PH                  ! \J        V	R7      ;_uu_ 4        \
        P                  ! W#RR7       RRR4       \F        PH                  ! \J        V	R7      ;_uu_ 4        \
        P                  ! VRVR7       RRR4       \F        PH                  ! \J        V	R7      ;_uu_ 4        \
        P                  ! W#RR7       RRR4       \F        PH                  ! \J        V	R7      ;_uu_ 4        \
        P                  ! VRV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)l   Cvu= r-   )r  rr<  r  r  r  r  r  r0  r1  r   r
  r   r   Nz0`r` and `n` must contain only positive integers.r+   rj  r=  rU  )&rA   r   r   r#   ru   r   order_statisticrx   r  r  r   r  r   r   r   r   r  r   r  r   r  r  r  r  r   r  r  r  r  r  r   r  r   r	  r  r/   r0   r  )
r4   r   r$  r  r  rM  rB  r   r   r6   s
   &         r7   test_order_statistic'TestOrderStatistic.test_order_statistic  s{   ii##$45a1JJaS1#'!!!A.ZZq519%FF7F-FF1I 	q||~.

=		RZZ\2"''),

bffh/

bhhsm%@

bhhsma&7eD
BFF3K0		RZZ\2a"&&),a	2AEE!LE4QRq3QVVAlV5STq3QVVAkV5RS)4aggag6TURYYq\2RYYq\2		!bhhqk2[[(;;AIIbffQi1266!9=AJJrvvay1266!9= < E]]:W55!!!B/ 6]]:W55!!!rQ/ 6]]:W55!!!C0 6]]:W55!!!sa0 65 <;;
 655555555s=   A=T,8U =UU&U9,T=	 U	U#	&U6	9V
	c                    \         P                  ! \         P                  4      pV! 4       pV^,          ^,           p\         P                  ! V^^R7      p\	        VP                  4       VP                  4       4       R# )r   r  r  N)r   r  r   r  r   r  )r4   r#   r$  rM  r  s   &    r7   test_support_gh22037'TestOrderStatistic.test_support_gh22037  sV     ))%--8IaC!G!!!qA.		QYY[1rF   c                   \         P                  ! \         P                  4      p\         P                  ! \         P                  4      pRR.^rC^^.^..reR..R...pV! 4       p\         P                  ! WV4      p	\         P
                  ! WVR7      p
V! W4R7      p\         P
                  ! WVR7      p\        P                  P                  V
P                  V4      VP                  V4      4       R# )rp   r   r  r-   Nrk  rU  g333333ӿ)
r   r  rN  rA  r@  r  rA   r  r   r  )r4   r!   TruncatedNormalr(   r.   r  r  r:   r6  Y1Z1r7  Z2s   &            r7   test_composition_gh22037+TestOrderStatistic.test_composition_gh22037  s    
 ((411%//BBx1A3*1fXwX^^B1%""2a0q&""2a0


""266!9bffQi8rF   rq   N)r   r   r   r   r/   r   rt  r  r  r  r   r   r   s   @r7   r  r    s6     [[2(1 (1T29 9rF   r  c                      a  ] tR tRt o R tR t]P                  P                  R]	P                  ]	P                  3]	P                  ]	P                  3.4      R 4       tR tR tR tR tR	tV tR
# )TestFullCoveragei  c                   \         P                  ! \        4      ;_uu_ 4        \        P                  ! R R4       R R R 4       \         P                  ! \        4      ;_uu_ 4        \        P
                  ! R R4       R R R 4       \         P                  ! \        4      ;_uu_ 4        \        P                  ! R 4       R R R 4       R #   + '       g   i     L; i  + '       g   i     Lf; i  + '       g   i     R # ; iNr  )r/   r0   r  r   rC   r2   __str__r  s   &r7   test_DomainTestFullCoverage.test_Domain  s    ]].//T2& 0]].//++D"5 0]].//OOD! 0/	 0//////s#   C%C'C.C	C+	.C?	c                    \         P                  ! \        4      ;_uu_ 4        \        P                  ! R R4       R R R 4       R #   + '       g   i     R # ; ir  )r/   r0   r  r   validater  s   &r7   test_ParameterTestFullCoverage.test_Parameter  s1    ]].//b) 0///s   AA	c                    \        R
4      p\        RVR7      p\        P                  ! RR.VR7      pVP	                  V/ R7      w  rgp\        We4       Wr8X  g   Q h\        VRR.4       R	# )r   r:   rT   r  g      @r  r  TFN)rU  r   )r   r   rA   ru   r  r   )	r4   dtype_in	dtype_outr5   r  r:   arrr  r   s	   &&&      r7   "test_RealParameter_uncommon_dtypes3TestFullCoverage.test_RealParameter_uncommon_dtypes  sj     w'"3v6	JJSz2%..q2.FES!!!UT5M*rF   c                     ! R  R\         4      pV! 4       p\        P                  pW2n        \        P                  ! R.VR7      pVP                  V4      P                  V8X  g   Q hR# )c                   H   a  ] tR tRt o ]! R]! RR7      R7      tR tRtV t	R# )	NTestFullCoverage.test_ContinuousDistribution_set_invalid_nan.<locals>.TestDisti	  r:   r)   rT   c                    ^ # r   rq   r4   r:   r  r#  s   &&*,r7   _logpdf_formula^TestFullCoverage.test_ContinuousDistribution_set_invalid_nan.<locals>.TestDist._logpdf_formula  s    rF   rq   N)r  r  )
r   r   r   r   r   r   r   r  r   r   r   s   @r7   TestDistr  	  s      &s=83TUI rF   r  r  r  N)r   rA   float32r  ru   r  r  )r4   r  r$  r  r:   s   &    r7   +test_ContinuousDistribution_set_invalid_nan<TestFullCoverage.test_ContinuousDistribution_set_invalid_nan  sT    
	- 	
 J

JJuE*xx{  E)))rF   c                v   \        \        P                  ! R 4      4      P                  \        P                  ! \        P                  4      P                  8X  g   Q h\        \        P
                  ! ^4      4      P                  \        P                  ! \        P
                  4      P                  8X  g   Q hR# )r  N)r   rA   float64r%  finfoint64iinfor  s   &r7   test_fiinfoTestFullCoverage.test_fiinfo  sj    rzz"~&**bhhrzz.B.F.FFFFrxx{#''288BHH+=+A+AAAArF   c                    \        \        4      pR V9   g   Q h\        \        4      pRV9   g   Q h\        \        4      pRV9   g   Q hR# )z"accepts no distribution parameterszaccepts one parameterizationzaccepts two parameterizationsN)r   r   r!   r   )r4   msgs   & r7   test_generate_domain_support-TestFullCoverage.test_generate_domain_support  sJ    &~63s:::&v.-444&{3.#555rF   c                   \        ^ ^R7      p\        V4      R8X  g   Q h\        V^,          ^,           4      R8X  g   Q h\        \        P                  ! ^4      ^R7      p\        V4      R8X  g   Q h\        \        P                  ! ^\        P                  R7      \        P
                  ! ^\        P                  R7      R7      p\        V4      R8X  g   Q hR# )r   r-   z-Uniform(a=np.float64(0.0), b=np.float64(1.0))zOnp.float64(3.0)*Uniform(a=np.float64(0.0), b=np.float64(1.0)) + np.float64(2.0)z'Uniform(a=array([0., 0., 0., 0.]), b=1)r  z[Uniform(a=array([0., 0., 0., 0.], dtype=float32), b=array([1., 1., 1., 1.], dtype=float32))N)r#   r  rA   r  r  r  )r4   r$  s   & r7   #test_ContinuousDistribution__repr__4TestFullCoverage.test_ContinuousDistribution__repr__"  s    a1AwIIIIAaC!G}!
 	
 

 bhhqkQ'AwCCCCbhhq

3rwwq

7STAw9
 	
 
rF   rq   N)r  r  )r   r   r   r   r  r  r/   r   r   rA   float16int16r  r  r  r  r  r  r   r   r   s   @r7   r  r    st     "* [[6 "

BJJ7 ""**578+8+* B6
 
rF   r  c                   L  a  ] tR tRt o ]! ^ ^R7      t]! ]P                  ! R4      ]P                  ! R4      R7      t]	! R^R7      t
]	! ^^R7      t]	! ]P                  ! R4      ^R7      t]P                  P!                  R]]]P"                  ! RR.4      ,
          ]]P$                  ! ^]P                  R	7      ],          ]P                  ! ^]P&                  R	7      ,           ^],          ^,           ]^,          ^],          ^,           ^,          ^],          ^,           ^,          ^],          ^^],          ^,           ,          ^^],           ,          ]P*                  ! ]^^R
7      ]P,                  ! ]RR4      ]P.                  ! ]
].RR.R7      ]! ]4      ]P2                  ! ]4      ]P4                  ! ^],           4      ]P"                  ! RR.4      ],          ]P"                  ! RR.4      ,           .4      R 4       t]P                  P!                  R]]P8                  ! RR4      ]
,          R,           R]
,          ]P8                  ! RR4      ,           ]P8                  ! RR4      ]
,          R,           ]P,                  ! ]R^4      ]P,                  ! ]]P$                  ! R4      ) ]P$                  ! R4      4      ]P*                  ! ]
]P:                  ! ^R4      RR
7      ]^,          R^]P2                  ! ]4      ,           ,          ^],          .
4      R 4       tRtV t R# )	TestReprsi4  r-   r  r  r*  i  r   r<  r  r  g?g?g333333?r   weightsr3  c                   ^ RI Hp ^ RI Hp ^ RIHpHpHpHpHp ^ RIH	p	H
p
 ^ RIHp \        \        V4      4      pVP                  ^
RR7      pVP                  ^
RR7      p\!        W4       VP"                  VP"                  J g   Q hR# )	r   )array)r  )r5  r  r   r  r@  )r   r!   )r#   i  r]  N)numpyr  r  scipy.statsr5  r  r   r  r@  r   r!   scipy.stats._new_distributionsr#   r]   r  r   r   r  )r4   r   r  r  r5  r  r   r  r@  r   r!   r#   new_distr  r  s   &&             r7   test_executableTestReprs.test_executable;  sf    4 	 !HH/:T
#++BD+1///5W&}}---rF   c                <    \        \        V4      4      ^8  g   Q hR# )   N)lenr  )r4   r   s   &&r7   test_not_too_longTestReprs.test_not_too_longa  s    $ 4:$$$rF   rq   NrU  )!r   r   r   r   r#   UrA   r  Vr!   r$  rM  r  r  r/   r   r   r  r  r  r   r  r@  r   r5  r  r   r  fullaranger  r   r   r   s   @r7   r  r  4  s    !qA"**S/RZZ_5A"AA!1A"((4.*A[[#s$$GGARZZ(*RXXarzz-JJaC!GqDqS1WqLqS1WqLqD!aLQK!!!qA.NN1c3'MM1a&3*5FIIaLIIa!eHHc3Z "RXXsCj%99%	
../.. [[GGD#"S(!GbggdC((GGD#"S(NN1b!$NN1rwwt}nbggdm<!!!ryyD'9TBqD1uyy|#$qD	
%%rF   r  c                   v   a  ] tR tRt o ]! R]! ]P                  ) ]P                  3R7      R7      tR t	Rt
V tR# )	MixedDistiv  r:   r)   rT   c                   R R\         P                  ! ^\         P                  ,          4      ,          ,          \         P                  ! RVR,           R,          ^,          ,          4      ,          RR\         P                  ! ^\         P                  ,          4      ,          ,          \         P                  ! RVR,
          R,          ^,          ,          4      ,          ,           # )皙?皙?r        ?333333??      r  r  s   &&*,r7   _pdf_formulaMixedDist._pdf_formulax  s    rwwqw//0266$4q?P:P3QQ3255!112RVVD1S5#+PQAQ<Q5RRS 	TrF   rq   N)r   r   r   r   r   r   rA   r   r   r  r   r   r   s   @r7   r  r  v  s1     s=RVVGRVVCT+UVIT TrF   r  c                      a  ] tR tRt o R t]P                  P                  RRR
.4      R 4       tR t	R t
R tRtV tR	# )TestMixturei}  c                   R p\         P                  ! \        VR7      ;_uu_ 4        \        . 4       RRR4       Rp\         P                  ! \        VR7      ;_uu_ 4        \        R4       RRR4       Rp\         P                  ! \        VR7      ;_uu_ 4        \        \	        ^^.R7      \	        4       .4       RRR4       Rp\         P                  ! \        VR7      ;_uu_ 4        \        \	        4       .RR.R7       RRR4       R	p\         P                  ! \        VR7      ;_uu_ 4        \        \	        4       .^.R7       RRR4       R	p\         P                  ! \        VR7      ;_uu_ 4        \        \	        4       .^.R7       RRR4       R
p\         P                  ! \        VR7      ;_uu_ 4        \        \	        4       \	        4       .RR.R7       RRR4       Rp\         P                  ! \        VR7      ;_uu_ 4        \        \	        4       \	        4       .RR.R7       RRR4       R#   + '       g   i     EL; i  + '       g   i     EL; i  + '       g   i     EL; i  + '       g   i     EL{; i  + '       g   i     ELI; i  + '       g   i     EL; i  + '       g   i     L; i  + '       g   i     R# ; i)z7`components` must contain at least one random variable.r+   Nz3Each element of `components` must be an instance...z5All elements of `components` must have scalar shapes.)r+  z5`components` and `weights` must have the same length.r  r  z)`weights` must have floating point dtype.z`weights` must sum to 1.0.r  z#All `weights` must be non-negative.rj  rc  r  )r/   r0   r  r   r!   r  s   & r7   r  !TestMixture.test_input_validation~  s   K]]:W55BK 6 H]]:W55I 6 J]]:W55V1v&12 6 J]]:W55VXJc
3 6 >]]:W55VXJ, 6 >]]:W55VXJ, 6 /]]:W55VXvx(3*= 6 8]]:W55VXvx(3+> 659 655 655 655 655 655 655 65 655s_   H:!I"I"+I62J
8J>"J2"K:I	I	"I3	6J	
J	J/	2K	K	r  c           
     z  a \         P                  P                  R 4      p\        \	        RRR7      \	        RRR7      3RR7      p\        4       pVP                  S4      pV3R lpV! VP                  4       VP                  4       4       V! VP                  4       VP                  4       4       V! VP                  4       VP                  4       4       V! VP                  4       VP                  4       4       V! VP                  4       VP                  4       4       V! VP                  4       VP                  4       4       V! VP                  4       VP                  4       4       V! VP                  4       VP                  4       4       V! VP                  4       VP                  4       4       V! VP                  V4      VP                  V4      4       V! VP!                  V4      VP!                  V4      4       V! VP#                  V4      VP#                  V4      4       V! VP%                  V4      VP%                  V4      4       V! VP'                  V4      VP'                  V4      4       V! VP)                  V4      VP)                  V4      4       V! VP+                  V4      VP+                  V4      4       V! VP-                  V4      VP-                  V4      4       V! VP/                  V4      VP/                  V4      4       V! VP1                  V4      VP1                  V4      4       R F@  p\3        ^4       F.  pV! VP5                  WR7      VP5                  WR7      RR	7       K0  	  KB  	  R
p	\6        P8                  ! \:        V	R7      ;_uu_ 4        VP=                  ^4       RRR4       RoVP?                  SVR7      p
V
P@                  S8X  g   Q h\B        PD                  ! V
PG                  4       VP$                  4      PH                  R8  g   Q hR#   + '       g   i     Lz; i)l   $8-@r  r*  r  r  r  c                    < SR8X  d   \         P                  ! V 4      '       g   Q h\         P                  P                  ! W3/ VB  R # )Nrq   )rA   r  r  r   )rf   ri   r#  r  s   &&,r7   r   /TestMixture.test_basic.<locals>.assert_allclose  s6    {{{3''''JJ&&s:6:rF   r  r  r  z(L-moments are not currently available...r+   Nr   g?      пr  r  r  )rH     r   )%rA   r   r   r   r!   r  r   r   r   r   r   r   r  r   r  r  r  r  r  r  r  r  r   r	  r  r  r  r/   r0   r  r  r   r  r   ks_1sampravelr  )r4   r  r   r$  rM  r:   r   r  r  r6   r   s   &f         r7   
test_basicTestMixture.test_basic  s   ii##$67VuC0&Cs2KL&(KJJu	;
 	7		QYY[1!&&(+
AHHJ/!&&(+

ajjl3,,.0D0D0FG

ajjl3

ajjl3QXXa[1a!%%(+QXXa[1a!%%(+		!aiil3q	166!9-		!aiil3q	166!9-

1qzz!}5
AGGAJ/6Dq : ! :%*, " 7
 =]].g>>IIaL ? HHUH$ww%~~aggi/66=== ?>s   &P**P:	c                B   R p\         P                  ! \         P                  4      pV! VR7      p\         P                  ! W3) 34      p\        P
                  ! R^R4      p\        VP                  V4      \         P                  ! VR7      P                  V4      4       R# )r  r  rm  N)	r   r  r  r   rA   r[   r   r  dgamma)r4   r(   r  r$  rM  r:   s   &     r7   test_default_weights TestMixture.test_default_weights  sn    ''4AJMM1b'"KKAs#a%,,"3"7"7":;rF   c                F   \        RRR7      \        RRR7      .pRp\        WR7      p\        P                  ! \        4      ;_uu_ 4        ^
Vn        RRR4       \        P                  ! \        4      ;_uu_ 4        ^
Vn        RRR4       V^,          VP
                  ^ &   VP
                  ^ ,          V^ ,          8X  g   Q hV^,          VP                  ^ &   VP                  ^ ,          V^ ,          8X  g   Q hR#   + '       g   i     L; i  + '       g   i     L; i)	r  r  r*  r  r  r  Nr  r  )r!   r   r/   r0   rL  
componentsr  )r4   r  r  r$  s   &   r7   test_propertiesTestMixture.test_properties  s    S16S3LM
J0 ]]>**AL +]]>**AI + %Q-Q||A*Q-///qz		!yy|wqz))) +***s   C==D=D	D 	c                   \         P                  P                  R 4      p\        P                  ! \        P
                  4      pV! 4       p\        P                  ! W3.4      pVP                  ^
R7      p\         P                  P                  VP                  V4      VP                  V4      4       \         P                  P                  VP                  V4      VP                  V4      4       \         P                  P                  VP                  V4      VP                  V4      4       \         P                  P                  VP                  V4      VP                  V4      4       R# )l    nppRr;   N)rA   r   r   r   r  cauchyr   r  r   r   r  r  r	  )r4   r   CauchyX0r$  r   s   &     r7   test_inverseTestMixture.test_inverse  s     ii##$;<((6XMM2(#JJBJ


""166!9bggaj9


""1771:rxx{;


""199Q<A?


""1::a="++a.ArF   rq   N)rH  )r   r   r   r   r  r/   r   r   r  r  r  r  r   r   r   s   @r7   r  r  }  sK     ?B [[Wr5k2,> 3,>\<*$B BrF   r  c                      \         P                  ! \         P                  4      p V ! R ^R7      p\        VP	                  ^4      R4       R# )g      ?)r(   r  r  N)r   r  zipfianr   r  )Zipfianzdists     r7   !test_zipfian_distribution_wrapperr    s6     %%emm4Gdb!E2$rF   c                   2   a  ] tR tRt o R tR tR tRtV tR# )Test_logexpxmexpyi 	  c                z    \         P                  ! R 4      p\        \        W4      \         P                  ) 4       R# r<  N)rA   ru   r   r   r   r,  s   & r7   test_x_equals_y!Test_logexpxmexpy.test_x_equals_y	  s$    JJrN]1(266'2rF   c                    \         P                  ! R 4      \         P                  ! \        ) 4      r!\        \	        W4      V4       R# r  )rA   ru   r   r   r   )r4   r:   r   s   &  r7   test_y_neg_inf Test_logexpxmexpy.test_y_neg_inf		  s+    zz"~rzz3$/1]1(!,rF   c                x    \         P                  ! \         P                  4      p\        \	        W4      V4       R # r  )rA   ru   r  r   r   r,  s   & r7   test_nanTest_logexpxmexpy.test_nan	  s#    JJrvv]1(!,rF   rq   N)	r   r   r   r   r  r
  r  r   r   r   s   @r7   r  r   	  s     3
-
- -rF   r  c                      \        \        P                  ! R4      \        P                  ! R4      R7      p V P                  RR7      p\        P                  ! V4      '       g   Q hR# )g8L:?g{վ?)log_alog_br   r1  Ng8L:ҿ)r   rA   r  r   r  )luactuals     r7   test_gh_25180r  	  sJ    	2::&:;::&89
;BWWNW+F;;vrF   r  )rp   r   )r   r   )[	itertoolsr   r}  r   r  r   r  rA   r   r/   numpy.testingr   r   
hypothesisr   r   r	   r
   hypothesis.extra.numpyextrarW   scipyr   r   scipy.stats._fitr   scipy.stats._ksstatsr   r  r   scipy.stats._distr_paramsr   r   r  r   r   r   r   r   r   r   r   r   r   r   r  r   r   r   r    r!   r"   r#   r$   r&   r   continuous_familiesdiscrete_familiesru  r   r   r   r  r  r  r  r   r   r   r   r   r   r  r   Sobolr  r~  r  r  r(  r*  rQ  r4  r  r  r  r  r  r  r  r  rq   rF   r7   <module>r!     s2    	      7 E E % %   0 (  <6 6 6 6 O N ? ; ;v6 v6r"NL 
    !22}! }!~ 'F"4$l0$f$@PGfk\-H` F9-UWf$56'898*-bii&9&93::syy%QR9 S . : 7 .
9<%N$8E,P  } }@\0 \0~R" R"hE9 E9PI
 I
X?% ?%DT& TwB wBt%- -(rF   