
    _-Ph                         d Z ddlZd ZdS )zParameter type settings.    Nc                    | j                                         dk    r'dt          j        t          j                  j        z  }n| j                                         dk    r'dt          j        t          j                  j        z  }nS| j                                         dk    r'dt          j        t          j                  j        z  }nt          d          |S )a_  Set a tolerance based on a numpy dtype char.

    Parameters
    ----------
    dtype : np.dtype
        numpy dtype

    Returns
    -------
    tol : float
        A smallish value based on precision

    Notes
    -----
    Handles both real and complex (through the .lower() case)

    See Also
    --------
    numpy.typecodes, numpy.sctypes
    fg     @@dg    .Agz;Attempting to set a tolerance for an unsupported precision.)	charlowernpfinfosingleepsdouble
longdouble
ValueError)dtypetols     Q/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/pyamg/util/params.pyset_tolr      s    * zS  BHRY''++					s	"	"BHRY''++					s	"	"BHR]++//VWWWJ    )__doc__numpyr	   r    r   r   <module>r      s0             r   