관리-도구
편집 파일: fromnumeric.cpython-37.pyc
B ��Fd�� � - @ sN d Z ddlmZmZmZ ddlZddlZddlZddl m Z ddl mZ ddl m Z dd l mZ dd lmZmZmZmZ ddl mZ ejZdd ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8g-Zy ejZW n ek �r ed�ZY nX eZd9d:� Z d;d<� Z!dpd>d5�Z"dqd@d)�Z#drdAd�Z$dsdBd(�Z%dtdCd%�Z&dDd4� Z'dudEd7�Z(dvdHd!�Z)dwdId�Z*dxdKd0�Z+dydLd�Z,dzdMd�Z-d{dNd�Z.d|dPd,�Z/dQd*� Z0d}dRd1�Z1d~dSd�Z2ddTd6�Z3d�dUd'�Z4dVd � Z5dWd-� Z6d�dXd�Z7d�dYd�Z8dddej9fdZd3�Zdddej9fd[d#�Z:ddej9fd\d/�Z;ddej9fd]d�Z<ddej9fd^d�Z=ddej9fd_d �Z>d�d`d�Z?d�dad�Z@d�dbd$�ZAddej9fdcd�ZBddej9fddd�ZCded� ZDdddej9fdfd"�ZEd�dgd�ZFdhd� ZGdid&� ZHd�djd.�ZId�dkd�ZJd�dld+�ZKdddej9fdmd�ZLddddej9fdnd2�ZMddddej9fdod8�ZNdS )�zCModule containing non-deprecated functions borrowed from Numeric. � )�division�absolute_import�print_functionN� )�VisibleDeprecationWarning� )� multiarray)�umath)�numerictypes)�asarray�array� asanyarray�concatenate)�_methods�alen�all�alltrue�amax�amin�any�argmax�argmin�argpartition�argsort�around�choose�clip�compress�cumprod� cumproduct�cumsum�diagonal�mean�ndim�nonzero� partition�prod�product�ptp�put�rank�ravel�repeat�reshape�resize�round_�searchsorted�shape�size�sometrue�sort�squeeze�std�sum�swapaxes�take�trace� transpose�varc O s\ y | j }W n tk r" d }Y nX tt| �|�||�}|rXt|tj�sPt|�}||�}|S )N)Z__array_wrap__�AttributeError�getattrr � isinstance�mu�ndarray)�obj�method�args�kwds�wrap�result� rH �I/opt/alt/python37/lib64/python3.7/site-packages/numpy/core/fromnumeric.py�_wrapit* s rJ c O s<