+
    /iK                     X    ^ RI t]P                  ! ]4      P                  tR tR tR tR# )    Nc                     \        V 4      ^ 8X  d   \        R4      h\        R V  4       4      p\        R V  4       4      pR\        ,          \        VR4      ,          V,          # )a  
Get a relative tolerance for a set of arrays.

Parameters
----------
*arrays: tuple
    Set of `numpy.ndarray` to get the tolerance for.

Returns
-------
float
    Relative tolerance for the set of arrays.

Raises
------
ValueError
    If no array is provided.
z$At least one array must be provided.c              3   8   "   T F  qP                   x  K  	  R # 5i)N)size.0arrays   & Z/var/www/html/photoedit/myenv/lib/python3.14/site-packages/scipy/_lib/cobyqa/utils/math.py	<genexpr>!get_arrays_tol.<locals>.<genexpr>   s     .vezzvs   c           	   3      "   T FL  p\         P                  ! \         P                  ! V\         P                  ! V4      ,          4      R R7      x  KN  	  R# 5i)      ?)initialN)npmaxabsisfiniter   s   & r	   r
   r      s<      E 	rvveBKK./0#>>s   AAg      $@r   )len
ValueErrorr   EPS)arraysr   weights   *  r	   get_arrays_tolr      s_    & 6{a?@@.v..D  F #:D#&//    c                    \         P                  ! \         P                  ! V 4      4      P                  \        4      p V P
                  ^8w  d   \        V4      hV # )z
Preprocess a 1-dimensional array.

Parameters
----------
x : array_like
    Array to be preprocessed.
message : str
    Error message if `x` cannot be interpreter as a 1-dimensional array.

Returns
-------
`numpy.ndarray`
    Preprocessed array.
)r   
atleast_1dsqueezeastypefloatndimr   xmessages   &&r	   exact_1d_arrayr#   $   s@      	bjjm$++E2Avv{!!Hr   c                    \         P                  ! V 4      P                  \        4      p V P                  ^8w  d   \        V4      hV # )z
Preprocess a 2-dimensional array.

Parameters
----------
x : array_like
    Array to be preprocessed.
message : str
    Error message if `x` cannot be interpreter as a 2-dimensional array.

Returns
-------
`numpy.ndarray`
    Preprocessed array.
)r   
atleast_2dr   r   r   r   r    s   &&r	   exact_2d_arrayr&   :   s8      	a&Avv{!!Hr   )	numpyr   finfor   epsr   r   r#   r&    r   r	   <module>r+      s,     	hhuo0:,r   