| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/numpy/polynomial/tests/__pycache__/ |
Upload File : |
�
���c�G � �� � d Z ddlZddlmZ ddlZddlZddlm Z m
Z
mZmZm
Z
mZ ddlmZmZmZmZ ddlmZ e e
eee
efZ ed� eD � � � � Z ej ee�� � d � � � Zej j Zd+d�ZeZeZd� Zd
� Z d� Z!d� Z"d� Z#d� Z$d� Z%d� Z&d� Z'd� Z(d� Z)d� Z*d� Z+d� Z,d� Z-d� Z.d� Z/d� Z0d� Z1d� Z2d � Z3d!� Z4d"� Z5d#� Z6d$� Z7d%� Z8d&� Z9d'� Z:d(� Z; G d)� d*� � Z<dS ),z�Test inter-conversion of different polynomial classes.
This tests the convert and cast methods of all the polynomial classes.
� N)�Number)�
Polynomial�Legendre� Chebyshev�Laguerre�Hermite�HermiteE)�assert_almost_equal�
assert_raises�assert_equal�assert_)�RankWarningc # �$ K � | ]}|j V � �d S �N)�__name__)�.0�clss �E/usr/lib/python3/dist-packages/numpy/polynomial/tests/test_classes.py� <genexpr>r s$ � � � �1�1�#���1�1�1�1�1�1� )�params�idsc � � | j S r )�param)�requests r �Polyr s
� ��=�r � c �B � t t j | j |j k � � � � t t j | j |j k � � � � t | j |j � � d S # t $ r d| � d|� �}t |� � �w xY w)NzResult: z
Target: )r
�np�all�domain�windowr
�coef�AssertionError)�p1�p2�msgs r �assert_poly_almost_equalr( &