HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/numpy/__pycache__/dual.cpython-310.pyc
o

6��a��@s�dZddlZejdedd�gd�ZddlmZddlm	Z
ddlmZddl
Z
e
j	Z	e
jZe
jZe
jZe
jZe
jZejZejZejZejZejZejZejZejZejZejZejZejZiZdd	�Z d
d�Z!dd
�Z"dS)a#
.. deprecated:: 1.20

*This module is deprecated.  Instead of importing functions from*
``numpy.dual``, *the functions should be imported directly from NumPy
or SciPy*.

Aliases for functions which may be accelerated by SciPy.

SciPy_ can be built to use accelerated or otherwise improved libraries
for FFTs, linear algebra, and special functions. This module allows
developers to transparently support these accelerated functions when
SciPy is available but still support users who have only installed
NumPy.

.. _SciPy : https://www.scipy.org

�NzlThe module numpy.dual is deprecated.  Instead of using dual, use the functions directly from numpy or scipy.�)�category�
stacklevel)�fft�ifft�fftn�ifftn�fft2�ifft2�norm�inv�svd�solve�det�eig�eigvals�eigh�eigvalsh�lstsq�pinv�cholesky�i0)rcCs:|tvrtd�|���t�d�j}||t|<|||<dS�Nz{} not a dual function.r)�__all__�
ValueError�format�sys�	_getframe�	f_globals�
_restore_dict)�name�func�f�r#�,/usr/lib/python3/dist-packages/numpy/dual.py�
register_func@s
r%cCsL|tvrtd�|���zt|}Wn
tyYdSw|t�d�j|<dSr)rrrr�KeyErrorrrr)r �valr#r#r$�restore_funcGs�r(cCst��D]}t|�qdS)N)r�keysr()r r#r#r$�restore_allQs
�r*)#�__doc__�warnings�warn�DeprecationWarningr�numpy.linalg�linalg�linpkg�	numpy.fftr�fftpkg�	numpy.librrrrrr	r
rrr
rrrrrrrrrrr%r(r*r#r#r#r$�<module>sB�