관리-도구
편집 파일: test_pocketfft.cpython-311.pyc
� �܋f_2 � �f � d dl Zd dlZd dlmZ d dlmZmZmZm Z d dl Z d dlZd� Z G d� d� � Z G d� d� � Zej � d ej ej ej ej g� � ej � d ddg� � ej � d ej j ej j ej j ej j ej j ej j g� � d� � � � � � � Zej � e d�� � G d� d� � � � ZdS )� N)�random)�assert_array_equal� assert_raises�assert_allclose�IS_WASMc � � t | � � }dt j z t j |� � |z z }t j |� � � dd� � |z }t j | t j |� � z d�� � S )Ny � ����� ��axis)�len�np�pi�arange�reshape�sum�exp)�x�L�phases �q/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/fft/tests/test_pocketfft.py�fft1r sm � ��A���A��"�%�K�2�9�Q�<�<�!�+�,�E��I�a�L�L� � ��Q�'�'�%�/�E� �6�!�B�F�5�M�M�/��*�*�*�*� c � � e Zd Zd� ZdS )�TestFFTShiftc �V � t t t j j g d�d� � d S )N)r � � r )r � ValueErrorr �fft)�selfs r � test_fft_nzTestFFTShift.test_fft_n s$ � ��j�"�&�*�i�i�i��;�;�;�;�;r N)�__name__� __module__�__qualname__r"