o
    ie	                     @   s@   d dl Z d dlZdddZdddZdd Zdd	 Zd
d ZdS )    Nc                 C      t t| |||S )a#  Returns the string representation of an array.

    Args:
        arr (array_like): Input array. It should be able to feed to
            :func:`cupy.asnumpy`.
        max_line_width (int): The maximum number of line lengths.
        precision (int): Floating point precision. It uses the current printing
            precision of NumPy.
        suppress_small (bool): If ``True``, very small numbers are printed as
            zeros

    Returns:
        str: The string representation of ``arr``.

    .. seealso:: :func:`numpy.array_repr`

    )numpy
array_reprcupyasnumpyarrmax_line_width	precisionsuppress_small r   P/home/ubuntu/veenaModal/venv/lib/python3.10/site-packages/cupy/_io/formatting.pyr      s   r   c                 C   r   )a  Returns the string representation of the content of an array.

    Args:
        arr (array_like): Input array. It should be able to feed to
            :func:`cupy.asnumpy`.
        max_line_width (int): The maximum number of line lengths.
        precision (int): Floating point precision. It uses the current printing
            precision of NumPy.
        suppress_small (bool): If ``True``, very small number are printed as
            zeros.

    .. seealso:: :func:`numpy.array_str`

    )r   	array_strr   r   r   r   r   r   r      s   r   c                 O      t jt| g|R i |S )z_Return a string representation of an array.


    .. seealso:: :func:`numpy.array2string`

    )r   array2stringr   r   )aargskwargsr   r   r   r   .   s   r   c                 O   r   )zFormat a floating-point scalar as a decimal string in positional notation.

    See :func:`numpy.format_float_positional` for the list of arguments.

    .. seealso:: :func:`numpy.format_float_positional`

    )r   format_float_positionalr   r   xr   r   r   r   r   r   8      r   c                 O   r   )zFormat a floating-point scalar as a decimal string in scientific notation.

    See :func:`numpy.format_float_scientific` for the list of arguments.

    .. seealso:: :func:`numpy.format_float_scientific`

    )r   format_float_scientificr   r   r   r   r   r   r   C   r   r   )NNN)r   r   r   r   r   r   r   r   r   r   r   <module>   s    


