← Back
Editing: test_function_base.cpython-311.pyc
� ���cK8 � �� � d dl mZmZmZmZmZmZmZmZm Z m Z mZmZm Z d dlmZmZmZmZmZ G d� de� � Z G d� de � � Z G d� d� � Z G d � d � � Z G d� d� � Zd S )� ) �logspace�linspace� geomspace�dtype�array�sctypes�arange�isnan�ndarray�sqrt� nextafter�stack�errstate)�assert_�assert_equal� assert_raises�assert_array_equal�assert_allclosec �@ � e Zd Zd� Zd� ZeZd� Zd� Zd� ZeZ d� Z d� ZdS ) �PhysicalQuantityc �8 � t � | |� � S �N)�float�__new__)�cls�values �E/usr/lib/python3/dist-packages/numpy/core/tests/test_function_base.pyr zPhysicalQuantity.__new__ s � ��}�}�S�%�(�(�(� c � � t t |t � � � � t t |� � t | � � z � � S r �r � isinstancer r ��self�xs r �__add__zPhysicalQuantity.__add__ �: � �� �1�.�/�/�0�0�0���a���5��;�;� 6�7�7�7r c � � t t |t � � � � t t | � � t |� � z � � S r r r"