+
    0i                         ^ RI t^ RI Ht ^ RIHt . ROt. ROt]! ]RRR1,          4      t]! ]RRR1,          4      tR t	. R	Ot
. R
Ot]! ]
RRR1,          4      t]! ]RRR1,          4      tR tR# )    N)poly1d)betac                   \         P                  ! V 4      p V P                  p\         P                  ! V 4      P	                  \         P
                  4      p RpV R8  pV R8H  p\         P                  ! V 4      V8  pW4,          V,          ( pW,          pW,          p\         P                  ! V 4      p	\         P                  W&   \         P                  W&   VP                  ^ 8  d   \        V4      \        V4      ,          W&   VP                  ^ 8  dN   RV^,          ,          RR^V,          ,           ,          \        V^,           V^,           4      ,
          ,          W&   V	P                  V4      p	V	# )a  Variance of the Tukey Lambda distribution.

Parameters
----------
lam : array_like
    The lambda values at which to compute the variance.

Returns
-------
v : ndarray
    The variance.  For lam < -0.5, the variance is not defined, so
    np.nan is returned.  For lam = 0.5, np.inf is returned.

Notes
-----
In an interval around lambda=0, this function uses the [4,4] Pade
approximation to compute the variance.  Otherwise it uses the standard
formula (https://en.wikipedia.org/wiki/Tukey_lambda_distribution).  The
Pade approximation is used because the standard formula has a removable
discontinuity at lambda = 0, and does not produce accurate numerical
results near lambda = 0.
g333333?g       @      ?g      )npasarrayshape
atleast_1dastypefloat64abs
empty_likenaninfsize_tukeylambda_var_p_tukeylambda_var_qr   reshape)
lamshp	thresholdlow_maskneghalf_mask
small_maskreg_masksmallregvs
   &         \/var/www/html/photoedit/myenv/lib/python3.14/site-packages/scipy/stats/_tukeylambda_stats.pytukeylambda_variancer    +   s$   . **S/C
))C
--

#
#BJJ
/C I
 TzH$;Ly(J(:56H OE
-C 	cA&&AKffAOzzA~*514Fu4MM
xx!|S!V|sQW}(=(,S1WcAg(>)? @			#AH    c                   \         P                  ! V 4      p V P                  p\         P                  ! V 4      P	                  \         P
                  4      p RpV R8  pV R8H  p\         P                  ! V 4      V8  pW4,          V,          ( pW,          pW,          p\         P                  ! V 4      p	\         P                  W&   \         P                  W&   VP                  ^ 8  d   \        V4      \        V4      ,          W&   VP                  ^ 8  d   R^V,          ^,           ,          ^\        ^V,          ^,           V^,           4      ,          ,
          ^\        ^V,          ^,           ^V,          ^,           4      ,          ,           p
^R^V,          ^,           ,          \        V^,           V^,           4      ,
          ^,          ,          pW,          ^,
          W&   V	P                  V4      p	V	# )a*  Kurtosis of the Tukey Lambda distribution.

Parameters
----------
lam : array_like
    The lambda values at which to compute the variance.

Returns
-------
v : ndarray
    The variance.  For lam < -0.25, the variance is not defined, so
    np.nan is returned.  For lam = 0.25, np.inf is returned.

g)\(?r   g      п)r   r   r	   r
   r   r   r   r   r   r   r   _tukeylambda_kurt_p_tukeylambda_kurt_qr   r   )r   r   r   r   negqrtr_maskr   r   r   r   knumerdenoms   &           r   tukeylambda_kurtosisr)      s|    **S/C
))C
--

#
#BJJ
/C I U{H%<Ly(J(:56H OE
-C 	cA&&AKffAOzzA~+E25H5OO
xx!|C!$q4C!S1W+E'EET!c'A+q3w{334S!c'A+&cAgsQw)??!CCma' 	
		#AHr!   )gSbQ
@go|-a?g_3
L/g|A"?gCUG)r   g<*x@g y@g`B{dA?g-~?)g333333?g6|igeSH6gѐ환^?g˝)kPd@)r   g?ݻA@gID@)@gPr?g`2fQ)numpyr   r   scipy.specialr   _tukeylambda_var_pc_tukeylambda_var_qcr   r   r    _tukeylambda_kurt_pc_tukeylambda_kurt_qcr#   r$   r)    r!   r   <module>r2      s      8- ? 
 /"56 /"56 9z? A 
 1$B$78 1$B$78 4r!   