| Server IP : 217.160.0.135 / Your IP : 216.73.217.25 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 : /usr/lib/python3/dist-packages/scipy/special/__pycache__/ |
Upload File : |
�
d�c�8 � � � d dl Z d dlZd dlZd dlmZ d dlZd dlmZ d dl Z d dl
mZ d dlZn# e
$ r Y nw xY w G d� d� � Z G d� d� � Z G d � d
� � Z G d� d� � Zd
� Z G d� d� � Zd� Zd� Zd� Zd� Zd� Z d dlZd dlZd ee� � v Zn
# e
$ r dZY nw xY w G d� de� � Zdej dfd�Z d� Z!d� Z"d d�Z#dS )!� N)�zip_longest)�assert_)�assert_func_equalc �D � e Zd ZdZej ej ddfd�Zd� Zd� ZdS )�Argz�Generate a set of numbers on the real axis, concentrating on
'interesting' regions and covering all orders of magnitude.
Tc �2 � ||k rt d� � �|t j k r!dt j t � � j z }|t j k r!dt j t � � j z }||c| _ | _ ||c| _ | _ d S )Nz#a should be less than or equal to bg �� �?)
�
ValueError�np�inf�finfo�float�max�a�b�inclusive_a�inclusive_b)�selfr r r r s �</usr/lib/python3/dist-packages/scipy/special/_mptestutils.py�__init__zArg.__init__ s� � ��q�5�5��B�C�C�C�����<�<��R�X�e�_�_�(�(�A����;�;��B�H�U�O�O�'�'�A��A������-8�+�*���$�*�*�*� c �h � |dk rt d� � �|dz dk r|dz }|}n
|dz }|dz }|dk r<t j t j |� � t j |� � |� � }�n�|dk r|dk rt j |||� � }�n�|dk rXt j |d|d�� � }t j dt j |� � |� � }t j ||f� � }�n+|dk rs|dk rmt j d||� � }|j dk rt j |d � � } nd} t j d| |d�� � }t j ||f� � }n�|dz dk r|dz }
|
}n
|dz }
|
dz }t j dd|d�� � }|j dk rt j |d � � } nd} t j d| |
d�� � }t j dt j |� � |� � }
t j |||
f� � }t j |� � S ) Nr za should be positive� � �
F)�endpointi��)r
r �logspace�log10�linspace�hstack�size�sort)r r r �n�nlogpts�nlinpts�pts�linpts�logpts�right�nlogpts1�nlogpts2�logpts1�logpts2s r �_positive_valueszArg._positive_values'