| 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/scipy/interpolate/tests/__pycache__/ |
Upload File : |
�
d�c� � �� � d Z ddlZddlmZmZmZ ddlmZmZm Z m
Z
mZmZ ddl
mZ dZd� Zd� Zd � Zd
� Zd� Zd� Zd
� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z!d� Z"dS )z Test functions for rbf module � N)�assert_�assert_array_almost_equal�assert_almost_equal)�linspace�sin�cos�random�exp�allclose)�Rbf��multiquadriczinverse multiquadric�gaussian�cubic�quinticz
thin-plate�linearc � � t ddd� � }t |� � }t ||| �� � } ||� � }t ||� � t |t |d � � � � |d � � d S )Nr �
� ��function)r r r r r �float)r �x�y�rbf�yis �B/usr/lib/python3/dist-packages/scipy/interpolate/tests/test_rbf.py�check_rbf1d_interpolationr s} � ���2�a���A��A���A�
�a��X�
&�
&�
&�C� ��Q���B��a��$�$�$����E�!�A�$�K�K�(�(�!�A�$�/�/�/�/�/� c �( � t j dd� � dz dz
}t j dd� � dz dz
}|t |dz d|dz z z
� � z }t |||d| �� � } |||� � }|j |_ t ||� � d S )N�2 � � � � �?��epsilonr �r �randr
r �shaper )r r r �zr �zis r �check_rbf2d_interpolationr- s� � ���B�q���!��A��A���B�q���!��A��A� �#�q�!�t�e�B�q�!�t�G�m�
�
��A�
�a��A�q�8�
4�
4�
4�C� ��Q����B��w�B�H��a��$�$�$�$�$r c �\ � t j dd� � dz dz
}t j dd� � dz dz
}t j dd� � dz dz
}|t |dz |dz z
� � z }t ||||d| �� � } ||||� � }|j |_ t ||� � d S )Nr! r"