/opt/cloudlinux/venv/lib/python3.11/site-packages/numpy/lib/__pycache__
NameSizeModeActions
arraypad.cpython-311.pyc307070644editdlrm
arraysetops.cpython-311.pyc372060644editdlrm
arrayterator.cpython-311.pyc103600644editdlrm
format.cpython-311.pyc367920644editdlrm
function_base.cpython-311.pyc2129720644editdlrm
histograms.cpython-311.pyc418690644editdlrm
index_tricks.cpython-311.pyc382250644editdlrm
mixins.cpython-311.pyc92830644editdlrm
nanfunctions.cpython-311.pyc706960644editdlrm
npyio.cpython-311.pyc1057840644editdlrm
polynomial.cpython-311.pyc562950644editdlrm
recfunctions.cpython-311.pyc704500644editdlrm
scimath.cpython-311.pyc182340644editdlrm
setup.cpython-311.pyc9470644editdlrm
shape_base.cpython-311.pyc456070644editdlrm
stride_tricks.cpython-311.pyc209800644editdlrm
twodim_base.cpython-311.pyc393220644editdlrm
type_check.cpython-311.pyc238690644editdlrm
ufunclike.cpython-311.pyc75440644editdlrm
user_array.cpython-311.pyc186240644editdlrm
utils.cpython-311.pyc461730644editdlrm
_datasource.cpython-311.pyc269920644editdlrm
_iotools.cpython-311.pyc377690644editdlrm
_version.cpython-311.pyc71360644editdlrm
__init__.cpython-311.pyc34520644editdlrm
Edit: /opt/cloudlinux/venv/lib/python3.11/site-packages/numpy/lib/__pycache__/utils.cpython-311.pyc (46173B)
§ ¼–‡f¢ÜôyãóЗddlZddlZddlZddlZddlZddlZddlZddlZddlm Z ddl m Z m Z m Z ddlmZmZmZddlZgd¢Zd„Zd„ZGd „d ¦«Zd „Zd „Zd „Zd„Zd!d„Zd„Zdadad"d„Z d!d„Z!e d¦«d#d„¦«Z"e d¦«ej#fd„¦«Z$iZ%ej&dej'¦«Z(e d¦« d$d„¦«Z)d„Z*d„Z+d„Z,d„Z-d„Z.d „Z/dS)%éNé)Ú set_module)Ú issubclass_Ú issubsctypeÚ issubdtype)ÚndarrayÚufuncÚasarray) rrrÚ deprecateÚdeprecate_with_docÚ get_includeÚinfoÚsourceÚwhoÚlookforÚ byte_boundsÚ safe_evalÚ show_runtimecóÊ—ddlm}m}m}ddlm}t jtjtj ¦«dœg}gg}}|D]5}||r|  |¦«Œ |  |¦«Œ6|  d|||dœi¦« ddl m }| |¦«¦«n#t$rt!d¦«YnwxYw||¦«d S) a( Print information about various resources in the system including available intrinsic support and BLAS/LAPACK library in use .. versionadded:: 1.24.0 See Also -------- show_config : Show libraries in the system on which NumPy was built. Notes ----- 1. Information is derived with the help of `threadpoolctl `_ library if available. 2. SIMD related information is derived from ``__cpu_features__``, ``__cpu_baseline__`` and ``__cpu_dispatch__`` r©Ú__cpu_features__Ú__cpu_baseline__Ú__cpu_dispatch__)Úpprint)Ú numpy_versionÚpythonÚunameÚsimd_extensions)ÚbaselineÚfoundÚ not_found)Úthreadpool_infoz¨WARNING: `threadpoolctl` not found in system! Install it by `pip install threadpoolctl`. Once installed, try `np.show_runtime` again for more detailed build informationN)Únumpy.core._multiarray_umathrrrrÚnpÚ __version__ÚsysÚversionÚplatformrÚappendÚ threadpoolctlr"ÚextendÚ ImportErrorÚprint) rrrrÚ config_foundÚfeatures_foundÚfeatures_not_foundÚfeaturer"s úc/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib64/python3.11/site-packages/numpy/lib/utils.pyrrs�€ð(ððððððððððÐÐÐÐÐåœÝ”+Ý”Ñ!Ô!ð ð ð €Lð *,¨RÐ&€NØ#ð/ð/ˆØ ˜GÔ $ð /Ø × !Ò ! 'Ñ *Ô *Ð *Ð *à × %Ò % gÑ .Ô .Ð .Ð .Ø×ÒØØ(Ø#Ø+ð ð ðñôðð6Ø1Ð1Ð1Ð1Ð1Ð1Ø×Ò˜O˜OÑ-Ô-Ñ.Ô.Ð.Ð.øÝ ð6ð6ð6Ý ð5ñ 6ô 6ð 6ð 6ð 6ð6øøøð  €Fˆ<ÑÔÐÐÐsÂ#B9Â9CÃCcó4—ddl}|j€Dtj tj |j¦«dd¦«}nHddlm}tj tj |j¦«d¦«}|S)a¬ Return the directory that contains the NumPy \*.h header files. Extension modules that need to compile against NumPy should use this function to locate the appropriate include directory. Notes ----- When using ``distutils``, for example in ``setup.py``:: import numpy as np ... Extension('extension_name', ... include_dirs=[np.get_include()]) ... rNÚcoreÚinclude) ÚnumpyÚ show_configÚosÚpathÚjoinÚdirnameÚ__file__Ú numpy.corer4)r6Údr4s r2r r Ks}€ð$€L€L€LØ ÔÐ å ŒG�LŠL�œŸš¨¬Ñ8Ô8¸&À)Ñ LÔ Lˆˆð "Ð!Ð!Ð!Ð!Ð!Ý ŒG�LŠL�œŸš¨¬Ñ7Ô7¸Ñ CÔ CˆØ €Hócó —eZdZdZdd„Zd„ZdS)Ú _Deprecatez† Decorator class to deprecate old functions. Refer to `deprecate` for details. See Also -------- deprecate Ncó0—||_||_||_dS©N)Úold_nameÚnew_nameÚmessage)ÚselfrDrErFs r2Ú__init__z_Deprecate.__init__ts€Ø ˆŒ Ø ˆŒ ؈Œ ˆ ˆ r?có‡‡ —|j}|j}|j}|€‰j}|€d|zŠ n d|›d|›d�Š |�‰ d|zz Š t j‰¦«ˆ ˆfd„¦«}||_‰j}|€‰ }né| ¦« d¦«} t| dd…¦«} | d   ¦«r | d z|z}nYt| d ¦«dz} | dd…D],} t| ¦«| krn| t| ¦«dzz } Œ-|| d…}tj ‰ d | z¦«Š d  ‰ |g¦«}||_|S) z: Decorator call. Refer to ``decorate``. Nz`%s` is deprecated!ú`z` is deprecated, use `z ` instead!ú cóL•—tj‰td¬¦«‰|i|¤ŽS)Nr)Ú stacklevel)ÚwarningsÚwarnÚDeprecationWarning)ÚargsÚkwdsÚdepdocÚfuncs €€r2Únewfuncz$_Deprecate.__call__..newfunc�s0ø€å ŒM˜&Õ"4ÀÐ CÑ CÔ CÐ CØ�4˜Ð& Ð&Ð&Ð &r?érú z )rDrErFÚ__name__Ú functoolsÚwrapsÚ__doc__Ú expandtabsÚsplitÚ _get_indentÚlstripÚlenÚtextwrapÚindentr:)rGrTrQÚkwargsrDrErFrUÚdocÚlinesrbÚskipÚlinerSs ` @r2Ú__call__z_Deprecate.__call__ys±øø€ð ”=ˆØ”=ˆØ”,ˆà Ð Ø”}ˆHØ Ð Ø*¨XÑ5ˆFˆFð ð�h�h   ð*ˆFð Ð Ø �d˜W‘nÑ $ˆFå Œ˜Ñ Ô ð 'ð 'ð 'ð 'ð 'ñ Ô ð 'ð$ˆÔØŒlˆØ ˆ;؈CˆCà—N’NÑ$Ô$×*Ò*¨4Ñ0Ô0ˆEÝ   q r r¤Ñ+Ô+ˆFØ�QŒx�ŠÑ Ô ð !ð˜s‘l SÑ(��õ˜5 œ8‘}”} qÑ(�Ø! ! " "œIð*ð*�Dݘ4‘y”y 6Ò)Ð)ؘØ�C ™IœI¨™MÑ)�D�Dؘ$˜%˜%”j�Ý”_ V¨S°6©\Ñ:Ô:ˆFØ—+’+˜v s˜mÑ,Ô,ˆC؈Œàˆr?)NNN)rXÚ __module__Ú __qualname__r[rHrh©r?r2rArAhsA€€€€€ð ð ððððð 0ð0ð0ð0ð0r?rAcóÒ—tj}|D]E}t| ¦«¦«}|r t |t|¦«|z ¦«}ŒF|tjkrd}|S)zU Determines the leading whitespace that could be removed from all the lines. r)r&Úmaxsizer`r_Úmin)rerbrgÚcontents r2r^r^¬si€õŒ[€FØð6ð6ˆÝ�d—k’k‘m”mÑ$Ô$ˆØ ð 6ݘ¥ T¡¤¨WÑ!4Ñ5Ô5ˆFøØ •”ÒÐØˆØ €Mr?cól—|r'|d}|dd…}t|i|¤Ž|¦«St|i|¤ŽS)aœ Issues a DeprecationWarning, adds warning to `old_name`'s docstring, rebinds ``old_name.__name__`` and returns the new function object. This function may also be used as a decorator. Parameters ---------- func : function The function to be deprecated. old_name : str, optional The name of the function to be deprecated. Default is None, in which case the name of `func` is used. new_name : str, optional The new name for the function. Default is None, in which case the deprecation message is that `old_name` is deprecated. If given, the deprecation message is that `old_name` is deprecated and `new_name` should be used instead. message : str, optional Additional explanation of the deprecation. Displayed in the docstring after the warning. Returns ------- old_func : function The deprecated function. Examples -------- Note that ``olduint`` returns a value after printing Deprecation Warning: >>> olduint = np.deprecate(np.uint) DeprecationWarning: `uint64` is deprecated! # may vary >>> olduint(6) 6 rrVN©rA)rQrcÚfns r2r r ºsS€ðX ð+Ø �!ŒWˆØ�A�B�BŒxˆà*�z˜4Ð* 6Ð*Ð*¨2Ñ.Ô.Ð.å˜4Ð* 6Ð*Ð*Ð*r?có"—t|¬¦«S)a� Deprecates a function and includes the deprecation in its docstring. This function is used as a decorator. It returns an object that can be used to issue a DeprecationWarning, by passing the to-be decorated function as argument, this adds warning to the to-be decorated function's docstring and returns the new function object. See Also -------- deprecate : Decorate a function such that it issues a `DeprecationWarning` Parameters ---------- msg : str Additional explanation of the deprecation. Displayed in the docstring after the warning. Returns ------- obj : object )rFrq)Úmsgs r2r r ïs€õ0 ˜cÐ "Ñ "Ô "Ð"r?có—|j}|dd}|d}|d}t|¦«jj}|x}}|€||j|zz }n8t ||¦«D]"\}} | dkr ||dz | zz }Œ||dz | zz }Œ#||z }||fS)a# Returns pointers to the end-points of an array. Parameters ---------- a : ndarray Input array. It must conform to the Python-side of the array interface. Returns ------- (low, high) : tuple of 2 integers The first integer is the first byte of the array, the second integer is just past the last byte of the array. If `a` is not contiguous it will not use every byte between the (`low`, `high`) values. Examples -------- >>> I = np.eye(2, dtype='f'); I.dtype dtype('float32') >>> low, high = np.byte_bounds(I) >>> high - low == I.size*I.itemsize True >>> I = np.eye(2); I.dtype dtype('float64') >>> low, high = np.byte_bounds(I) >>> high - low == I.size*I.itemsize True ÚdatarÚstridesÚshapeNrV)Ú__array_interface__r ÚdtypeÚitemsizeÚsizeÚzip) ÚaÚaiÚa_dataÚastridesÚashapeÚbytes_aÚa_lowÚa_highrxÚstrides r2rrsÄ€ð@ Ô €BØ �ŒZ˜Œ]€FØ�)Œ}€HØ �Œ[€FÝ�a‰jŒjÔÔ'€GàЀEˆFØÐà�!”&˜7Ñ"Ñ"ˆˆå  ¨Ñ2Ô2ð +ð +‰MˆE�6ؘŠzˆzؘ% ™' 6Ñ)Ñ)��à˜5 ™7 FÑ*Ñ*��Ø�'ÑˆØ �&ˆ=Ðr?cóÌ—|€tj¦«j}|j}g}i}| ¦«D]É}t ||t ¦«r¬||}t|¦«}|| ¦«vr|d||zz}d}n |||<|}d}d tt|j ¦«¦«} t|j ¦«} |  || | |jj|g¦«ŒÊd} d} d} d}|D]¬}| t!|d¦«krt!|d¦«} | t!|d¦«krt!|d¦«} | t!|d¦«krt!|d¦«} |dr|t#|d¦«z }Œ­t!|¦«dkrpt%d| ¦«}t%d| ¦«}t%d| ¦«}d |d z›d |d z›d |d z›d �}t'|dzdt!|¦«dzzzdz¦«|D]‘}t'|d›d d |t!|d¦«z dzz›d |d›d d |t!|d¦«z dzz›d |d›d d |t!|d¦«z dzz›d |d›� ¦«Œ’t'd|z¦«dS)a% Print the NumPy arrays in the given dictionary. If there is no dictionary passed in or `vardict` is None then returns NumPy arrays in the globals() dictionary (all NumPy arrays in the namespace). Parameters ---------- vardict : dict, optional A dictionary possibly containing ndarrays. Default is globals(). Returns ------- out : None Returns 'None'. Notes ----- Prints out the name, shape, bytes and type of all of the ndarrays present in `vardict`. Examples -------- >>> a = np.arange(10) >>> b = np.ones(20) >>> np.who() Name Shape Bytes Type =========================================================== a 10 80 int64 b 20 160 float64 Upper bound on total bytes = 240 >>> d = {'x': np.arange(2.0), 'y': np.arange(3.0), 'txt': 'Some str', ... 'idx':5} >>> np.who(d) Name Shape Bytes Type =========================================================== x 2 16 float64 y 3 24 float64 Upper bound on total bytes = 40 Nz (%s)rrVz x réé zName rWz Shape z Bytes z TyperKú=ééz' Upper bound on total bytes = %d)r&Ú _getframeÚf_backÚ f_globalsÚkeysÚ isinstancerÚidr:ÚmapÚstrrxÚnbytesr)rzÚnamer`ÚintÚmaxr-)ÚvardictÚframeÚstaÚcacher–ÚvarÚidvÚnamestrÚoriginalÚshapestrÚbytestrÚmaxnameÚmaxshapeÚmaxbyteÚ totalbytesÚvalÚsp1Úsp2Úsp3Úprvals r2rrGs €ðX€Ý” ‘”Ô&ˆØ”/ˆØ €CØ €EØ— ’ ‘”ð#ð#ˆÝ �g˜d”m¥WÑ -Ô -ð #ؘ$”-ˆCÝ�S‘'”'ˆCØ�e—j’j‘l”lÐ"Ð"Ø ¨5°¬:Ñ!5Ñ5�Ø��à!��c‘ Ø�Ø�Ø—z’z¥#¥c¨3¬9Ñ"5Ô"5Ñ6Ô6ˆHݘ#œ*‘o”oˆGØ �JŠJ˜ ¨7°C´I´NØ ð"ñ #ô #ð #øð€GØ€HØ€GØ€JØð&ð&ˆØ •S˜˜Qœ‘[”[Ò Ð Ý˜#˜aœ&‘k”kˆGØ •c˜#˜aœ&‘k”kÒ !Ð !ݘ3˜qœ6‘{”{ˆHØ •S˜˜Qœ‘[”[Ò Ð Ý˜#˜aœ&‘k”kˆGØ ˆqŒ6ð &Ø �#˜c !œf™+œ+Ñ %ˆJøå ˆ3�x„x�!‚|€|Ý�"�gÑÔˆÝ�"�hÑÔˆÝ�"�gÑÔˆˆØ47¸±G°G°G¸SÀ¹W¸W¸WÀcÈ#ÁgÀgÀgÐNˆÝ ˆe�d‰l˜S¥# e¡*¤*¨Q¡,Ñ/Ñ/°$Ñ6Ñ7Ô7Ð7àð1ð1ˆÝ ¨¨A¬¨¨°°S½¸SÀ¼V¹¼±_ÀQÑ5FÑ0GÐ0GÐ0GØ(+¨A¬¨¨°°S½¸SÀ¼V¹¼±_ÀQÑ5FÑ0GÐ0GÐ0GØ(+¨A¬¨¨°°S½¸SÀ¼V¹¼±_ÀQÑ5FÑ0GÐ0GÐ0GØ(+¨A¬¨ð0ñ 1ô 1ð 1ð 1õ Ð 4°zÑ AÑBÔBÐBØ €Fr?có(—t|¦«}|}|}d}| |¦«}|D]d}||krd} n|} |t|¦«zt| ¦«z}||kr'|dzt|¦«z}|dzd|dzzz|z}Œ\|| z|z}Œe|S)Nz, ÚrVz, rWr)r`r]) r–Ú argumentsÚwidthÚ firstwidthÚkÚnewstrÚsepstrÚarglistÚargumentÚaddstrs r2Ú _split_liner·®s¼€Ý�T‘”€JØ€AØ €FØ €FØ�oŠo˜fÑ%Ô%€GØð 0ð 0ˆØ � Š?ˆ?؈FˆFàˆFØ •�H‘ ” Ñ ¥ F¡ ¤ Ñ +ˆØ ˆuŠ9ˆ9ؘQ‘¥ X¡¤Ñ.ˆAؘe‘^ c¨:°a©<Ñ&8Ñ8¸8ÑCˆFˆFà˜f‘_ xÑ/ˆFˆFØ €Mr?r6cóø—t|t¦«t¦«g¦«}|j|ji}|jg}|jg} t |¦«dkrnš| d¦«}| ¦«D]o}t||tj ¦«rM||j}||vr<||j}|  |¦«|  |¦«|||<ŒpŒ®||fS)NTr) Ú __import__ÚglobalsÚlocalsrXÚ__dict__r`Úpopr�r‘ÚtypesÚ ModuleTyper))ÚmoduleÚthedictÚdictlistÚ totraverseÚthisdictÚxÚmodnameÚmoddicts r2Ú _makenamedictrÈÆsÿ€Ý ˜¥¡ ¤ ­6©8¬8°RÑ 8Ô 8€FØŒ˜vœÐ/€GؔР€HØ”/Ð"€Jð /Ý ˆz‰?Œ?˜aÒ Ð Ø Ø—>’> !Ñ$Ô$ˆØ—’‘”ð /ð /ˆAݘ( 1œ+¥uÔ'7Ñ8Ô8ð /Ø" 1œ+Ô.�Ø (Ð*Ð*Ø& qœkÔ2�GØ—O’O GÑ,Ô,Ð,Ø×%Ò% gÑ.Ô.Ð.Ø'.�G˜GÑ$øð /ð �HÐ Ðr?có —d}d}d„}t|dt|¦«¦«}t|d|¦«}|j}|jj}|€ t j}td||¬¦«td|j|¬¦«td ||¬¦«td |j |¬¦«td ||j j ¦«|¬¦«td ||j j ¦«|¬¦«td |j j |¬¦«tdt|jjj¦«›|›�|¬¦«tdd|¬¦«|dvr$t|›t j›|›�|¬¦«d} nS|dkr't|›d|›�|¬¦«t jdk} n&t|›d|›�|¬¦«t jdk} td|| ¦«|¬¦«td|jz|¬¦«dS)aOProvide information about ndarray obj. Parameters ---------- obj : ndarray Must be ndarray, not checked. output Where printed output goes. Notes ----- Copied over from the numarray module prior to its removal. Adapted somewhat as only numpy is an option now. Called by info. r­có—|SrCrk)rÅs r2úz_info..îs€�1€r?Ú __class__rXNzclass: ©Úfilezshape: z strides: z itemsize: z aligned: z contiguous: z fortran: zdata pointer: z byteorder: rW)ÚendrÎ)ú|rŠFú>ÚbigÚlittlez byteswap: ztype: %s)ÚgetattrÚtyperwrzÚ byteorderr&Ústdoutr-rxr{ÚflagsÚalignedÚ contiguousÚfortranÚhexÚctypesÚ_as_parameter_Úvalue) ÚobjÚoutputÚextraÚticÚbpÚclsÚnmrwÚendianÚbyteswaps r2Ú_inforéÚs4€ð$ €EØ €CØ ˆ€BÝ �#�{¥D¨¡I¤IÑ .Ô .€CÝ ��j #Ñ &Ô &€BØŒk€GØ ŒYÔ €Fà €~Ý”ˆå ˆ)�R˜fÐ%Ñ%Ô%Ð%Ý ˆ)�S”Y VÐ,Ñ,Ô,Ð,Ý ˆ+�w VÐ,Ñ,Ô,Ð,Ý ˆ,˜œ ¨6Ð2Ñ2Ô2Ð2Ý ˆ+�r�r˜#œ)Ô+Ñ,Ô,°6Ð:Ñ:Ô:Ð:Ý ˆ.˜"˜"˜SœYÔ1Ñ2Ô2¸Ð@Ñ@Ô@Ð@Ý ˆ+�s”yÔ(¨vÐ6Ñ6Ô6Ð6Ý €EÝ # C¤JÔ$=Ô$CÑ DÔ DÐ DÀeÀeÐLØ ð ñ ô ð õ ˆ-˜S vÐ.Ñ.Ô.Ð.Ø �ÐÐÝ ˜#˜#�sœ}˜}¨c¨cÐ2¸Ð@Ñ@Ô@Ð@؈ˆØ �3ŠˆÝ ˜3˜3˜3  Ð$¨6Ð2Ñ2Ô2Ð2Ý”= EÒ)ˆˆå ˜c˜c˜c 3 3Ð'¨fÐ5Ñ5Ô5Ð5Ý”= HÒ,ˆÝ ˆ,˜˜˜8™ œ ¨6Ð2Ñ2Ô2Ð2Ý ˆ*�s”yÑ  vÐ.Ñ.Ô.Ð.Ð.Ð.r?éLcó¬—ddl}ddl}t|d¦«st|d¦«r|j}nt|d¦«r|j}|€ t j}|€tt¦«dSt|t¦«rt||¬¦«dSt|t¦«�rt€t|¦«\a ad}g}tD]ª} t||} t| ¦«|vrt!d|z|¬¦«nY| t| ¦«¦«t!d |z|¬¦«t| ¦«t!d |z|¬¦«|d z }Œ›#t$$rYŒ§wxYw|dkrt!d |z|¬¦«dSt!d |z|¬¦«dS| |¦«s| |¦«r§|j} t| |¦«¦«} n#t.$rd} YnwxYwt1| | z¦«|krt3| | |¦«} n| | z} t!d| zdz|¬¦«t!| |¦«|¬¦«dS| |¦«�rŠ|j} t| |¦«¦«} n#t.$rd} YnwxYwt1| | z¦«|krt3| | |¦«} n| | z} t!d| zdz|¬¦«| |¦«} | €:t|d¦«r)t!| |j¦«|¬¦«n$t!| |¦«|¬¦«| |¦«}d„|D¦«}|rmt!d|¬¦«|D][}t=||d¦«}|�-| | |¦«pd¦«\}}t!d|›d|›�|¬¦«ŒZdSdSt|d¦«r&t!| |¦«|¬¦«dSdS)aº Get help information for an array, function, class, or module. Parameters ---------- object : object or str, optional Input object or name to get information about. If `object` is an `ndarray` instance, information about the array is printed. If `object` is a numpy object, its docstring is given. If it is a string, available modules are searched for matching objects. If None, information about `info` itself is returned. maxwidth : int, optional Printing width. output : file like object, optional File like object that the output is written to, default is ``None``, in which case ``sys.stdout`` will be used. The object has to be opened in 'w' or 'a' mode. toplevel : str, optional Start search at this level. See Also -------- source, lookfor Notes ----- When used interactively with an object, ``np.info(obj)`` is equivalent to ``help(obj)`` on the Python prompt or ``obj?`` on the IPython prompt. Examples -------- >>> np.info(np.polyval) # doctest: +SKIP polyval(p, x) Evaluate the polynomial p at x. ... When using a string for `object` it is possible to get multiple results. >>> np.info('fft') # doctest: +SKIP *** Found in numpy *** Core FFT routines ... *** Found in numpy.fft *** fft(a, n=None, axis=-1) ... *** Repeat reference found in numpy.fft.fftpack *** *** Total of 3 references found. *** When the argument is an array, information about the array is printed. >>> a = np.array([[1 + 2j, 3, -4], [-5j, 6, 0]], dtype=np.complex64) >>> np.info(a) class: ndarray shape: (2, 3) strides: (24, 8) itemsize: 8 aligned: True contiguous: True fortran: False data pointer: 0x562b6e0d2860 # may vary byteorder: little byteswap: False type: complex64 rNÚ_ppimport_importerÚ_ppimport_moduleÚ_ppimport_attr)ráz+ *** Repeat reference found in %s *** rÍz *** Found in %s ***ú-rVzHelp for %s not found.z+ *** Total of %d references found. ***z()rWrKrHcó*—g|]}|ddk¯|‘ŒS)rÚ_rk)Ú.0Úmeths r2ú zinfo..¨s!€ÐEÐEÐE 4°d¸1´gÀ²n°n˜$°n°n°nr?z Methods: ÚNonez z -- r[) ÚpydocÚinspectÚhasattrrírîr&r×rr‘rrér”Ú _namedictrÈÚ _dictlistr’r-r)ÚKeyErrorÚ isfunctionÚismethodrXÚ signatureÚ Exceptionr`r·ÚgetdocÚisclassrHÚ allmethodsrÔÚsplitdoc)ÚobjectÚmaxwidthráÚtoplevelrör÷ÚnumfoundÚobjlistrŸràr–r®ÚargstrÚdoc1ÚmethodsÚpublic_methodsróÚthisobjÚmethstrÚothers r2rrsC€ðL€L€L€LØ€N€N€Nå�Ð,Ñ-Ô-ð'Ý �6Ð-Ñ .Ô .ð'àÔ(ˆˆÝ �Ð)Ñ *Ô *ð'ØÔ&ˆà €~Ý”ˆà €~Ý �T‰ Œ ˆ ˆ ˆ Ý �F�GÑ $Ô $ðP3Ý ˆf˜VÐ$Ñ$Ô$Ð$Ð$Ð$Ý �F�CÑ Ô ñN3Ý Ð Ý#0°Ñ#:Ô#:Ñ ˆI�yØˆØˆÝ ð ð ˆGð Ý Ô(¨Ô0�Ý�c‘7”7˜gÐ%Ð%ÝðBØDKñLà%ðñôððð —N’N¥2 c¡7¤7Ñ+Ô+Ð+ÝÐ4°wÑ>ÀVÐLÑLÔLÐLݘ‘I”I�Iݘ#˜h™,¨VÐ4Ñ4Ô4Ð4ؘA‘ ��øÝð ð ð Ø�ð øøøà �qŠ=ˆ=Ý Ð*¨VÑ3¸&Ð AÑ AÔ AÐ AÐ AÐ Aå ð:Ø>> np.source(np.interp) #doctest: +SKIP In file: /usr/lib/python2.6/dist-packages/numpy/lib/function_base.py def interp(x, xp, fp, left=None, right=None): """.... (full docstring printed)""" if isinstance(x, (float, int, number)): return compiled_interp([x], xp, fp, left, right).item() else: return compiled_interp(x, xp, fp, left, right) The source code is only returned for objects written in Python. >>> np.source(np.array) #doctest: +SKIP Not available for this object. rNz In file: %s rÍzNot available for this object.)r÷r-Ú getsourcefileÚ getsourcerÿ)rrár÷s r2rr·s˜€ðR€N€N€Nð=Ý ˆo × 5Ò 5°fÑ =Ô =Ñ=ÀFÐKÑKÔKÐKÝ ˆg×Ò Ñ'Ô'¨fÐ5Ñ5Ô5Ð5Ð5Ð5øÝ ð=ð=ð=Ý Ð.°VÐ<Ñ<Ô<Ð<Ð<Ð<Ð<ð=øøøs†A AÁA2Á1A2z[a-z0-9_]+\(.*[,=].*\)TFcó ‡‡‡‡‡—ddl}t|||¦«Šg}t|¦« ¦« ¦«Š‰sdS‰ ¦«D]R\}\}} } | dvrŒ| ¦«Št ˆfd„‰D¦«¦«r| |¦«ŒSdddddœŠˆˆfd„Šˆˆfd „} | | ¬ ¦«d d   ‰¦«z} | d t| ¦«zg} |ddd…D]»}‰|\Š} }d„‰  ¦« d¦«D¦«} |d  ¦«}t  |¦«r|d  ¦«}n#t$rd}YnwxYw|  |›d|›�¦«Œ¼|s|  d¦«|�*| d  | ¦«¦«dSt| ¦«dkr4| ¦«}|d  | ¦«¦«dSt#d  | ¦«¦«dS)aº Do a keyword search on docstrings. A list of objects that matched the search is displayed, sorted by relevance. All given keywords need to be found in the docstring for it to be returned as a result, but the order does not matter. Parameters ---------- what : str String containing words to look for. module : str or list, optional Name of module(s) whose docstrings to go through. import_modules : bool, optional Whether to import sub-modules in packages. Default is True. regenerate : bool, optional Whether to re-generate the docstring cache. Default is False. output : file-like, optional File-like object to write the output to. If omitted, use a pager. See Also -------- source, info Notes ----- Relevance is determined only roughly, by checking if the keywords occur in the function name, at the start of a docstring, etc. Examples -------- >>> np.lookfor('binary representation') # doctest: +SKIP Search results for 'binary representation' ------------------------------------------ numpy.binary_repr Return the binary representation of the input number as a string. numpy.core.setup_common.long_double_representation Given a binary dump as given by GNU od -b, look for long double numpy.base_repr Return a string representation of a number in the given base system. ... rN)rÀrc3ó •K—|]}|‰vV—Œ dSrCrk)ròÚwrds €r2ú zlookfor..2s'øèè€Ð'Ð'˜Aˆq�CˆxÐ'Ð'Ð'Ð'Ð'Ð'r?ièéüÿÿ)rTÚclassrÀrcóô•‡‡—d}d | ¦« ¦« d¦«dd…¦«Š|t ˆfd„‰D¦«¦«z }|t ˆfd„‰D¦«¦«z }|t ‰¦« dzz }|‰ |d¦«z }|‰ d¦« d zz }|t| d z d ¦«z }|S) NrrKrŒcó•—g|]}|‰v¯d‘Œ S)éÈrk)ròrÚ first_docs €r2rôz.lookfor..relevance..@sø€Ð7Ð7Ð7˜!¨¨Y¨¨�#¨¨¨r?có•—g|]}|‰v¯d‘Œ S)érk)ròrr–s €r2rôz.lookfor..relevance..Bsø€Ð1Ð1Ð1˜ q¨D y y�" y y yr?r‹rú.r‰édiœÿÿÿ) r:ÚlowerÚstripr]Úsumr`ÚgetÚcountr˜)r–ÚdocstrÚkindÚindexÚrrÚkind_relevanceÚwhatss` @€€r2Ú relevancezlookfor..relevance<sÿøøø€Ø ˆà—I’I˜fŸlšl™nœn×2Ò2Ñ4Ô4×:Ò:¸4Ñ@Ô@ÀÀ!ÀÔDÑEÔEˆ Ø �SÐ7Ð7Ð7Ð7˜uÐ7Ñ7Ô7Ñ 8Ô 8Ñ8ˆà �SÐ1Ð1Ð1Ð1˜eÐ1Ñ1Ô1Ñ 2Ô 2Ñ2ˆà �c�$‰iŒiˆZ˜!‰^Ñˆà ˆ^× Ò   eÑ ,Ô ,Ñ,ˆà ˆd�jŠj˜‰oŒoÐ  Ñ "Ñ"ˆØ �S�%�˜#‘˜tÑ $Ô $Ñ$ˆØˆr?có"•—‰|g‰|¢RŽSrCrk)r~rœr,s €€r2Úrelevance_valuez lookfor..relevance_valueLsø€Øˆy˜Ð&˜U 1œXÐ&Ð&Ð&Ð&r?)ÚkeyzSearch results for '%s'rWrïéÿÿÿÿcó^—g|]*}| ¦«¯| ¦«‘Œ+Srk)r")ròrgs r2rôzlookfor..Vs<€ð%ð%ð% TØ—z’z‘|”|ð%�D—J’J‘L”Lð%ð%ð%r?rKrVr­z zNothing found.r‰)röÚ_lookfor_generate_cacher”r!r]ÚitemsÚallr)Úsortr:r`r"Ú_function_signature_reÚsearchÚ IndexErrorÚwriteÚgetpagerr-)ÚwhatrÀÚimport_modulesÚ regeneraterárör r–Ú docstringr'r(r.ÚsÚ help_textÚixÚdoclinesrÚpagerrœrdr*r,r+s @@@@@r2rròs÷øøøøø€ð^€L€L€Lõ $ F¨N¸JÑ GÔ G€Eð €EÝ �‰IŒI�OŠOÑ Ô × #Ò #Ñ %Ô %€EØ ð؈à*/¯+ª+©-¬-ððÑ&ˆÑ&ˆy˜$ Ø Ð'Ð 'Ð 'à Ø�oŠoÑÔˆÝ Ð'Ð'Ð'Ð' Ð'Ñ'Ô'Ñ 'Ô 'ð Ø �LŠL˜Ñ Ô Ð øð #¨TØ %°ð8ð8€Nððððððð 'ð'ð'ð'ð'ð'à ‡J‚J�?€JÑ#Ô#Ð#ð " S§X¢X¨e¡_¤_Ñ5€AØ�C�˜A™œ‘J�€IØ�d�d˜�d” ð ;ð ;ˆØ˜dœ ‰ ˆˆT�2ð%ð%¨S¯YªY©[¬[×->Ò->¸tÑ-DÔ-Dð%ñ%ô%ˆð Ø  œ ×)Ò)Ñ+Ô+ˆIÝ%×,Ò,¨YÑ7Ô7ð 0Ø$ QœK×-Ò-Ñ/Ô/� øøÝð ð ð ØˆIˆIˆIð øøøà×Ò¨¨¨¨y¨yÐ9Ñ:Ô:Ð:Ð:à ð+Ø×ÒÐ)Ñ*Ô*Ð*ðÐØ� Š �T—Y’Y˜yÑ)Ô)Ñ*Ô*Ð*Ð*Ð*Ý ˆY‰Œ˜"Ò Ð Ø—’Ñ Ô ˆØ ˆˆd�iŠi˜ Ñ"Ô"Ñ#Ô#Ð#Ð#Ð#å ˆd�iŠi˜ Ñ"Ô"Ñ#Ô#Ð#Ð#Ð#sÅAF*Æ* F9Æ8F9cóØ—ddl}ddlm}|€d}t|t¦«r6 t |¦«n#t $ricYSwxYwtj|}nWt|t¦«st|t¦«r-i}|D]&}|  t|||¦«¦«Œ'|St|¦«tvr|stt|¦«Si}|tt|¦«<i}d}|j|fg} | �r]|  d¦«\} } t| ¦«|vrŒ-d|t| ¦«<|dz }d} | | ¦«�rsd} | j} n#t&$rd} YnwxYw|�r‡t)| d ¦«�rv| jD�]m}t-j|¦«D�]T}t,j ||¦«}t,j ||d ¦«}t,j |¦«r | d ¦«r |dd …}n#t,j |¦«r|}nŒ¦|d krŒ­ tj}tj} |¦«t_|¦«t_t | ›d|›�¦«|t_|t_n#|t_|t_wxYw�Œ;#t<$r‚t>$rY�ŒRwxYw�ŒotA| ¦«D]»\}} tC|d| ›d|›�¦«}tC|dd¦«}n#tD$r | ›d|›�}d}YnwxYwd|vr |r|›d|›�}| #| dz¦«st|tH¦«rnŒƒ| |¦«s| �|| vsŒŸ|  %| ›d|›�|f¦«Œ¼n[| &| ¦«r4d} tA| ¦«D]!\}}|  %| ›d|›�|f¦«Œ"nt)| d¦«rd} | '| ¦«}n#tD$rd}YnwxYw|�|| |f|| <| �°]|S)aõ Generate docstring cache for given module. Parameters ---------- module : str, None, module Module for which to generate docstring cache import_modules : bool Whether to import sub-modules in packages. regenerate : bool Re-generate the docstring cache Returns ------- cache : dict {obj_full_name: (docstring, kind, index), ...} Docstring cache for the module, either cached one (regenerate=False) or newly generated. rN)ÚStringIOr6TrVrrÀÚ__path__z __init__.pyz.pyéýÿÿÿrHrrXrirrhrT)(r÷ÚiorEr‘r”r¹r,r&ÚmodulesÚlistÚtupleÚupdater2r’Ú_lookfor_cachesrXr½ÚismoduleÚ__all__ÚAttributeErrorrørFr8Úlistdirr9r:ÚisfileÚendswithr×ÚstderrÚKeyboardInterruptÚ BaseExceptionÚ _getmembersrÔÚ NameErrorÚ startswithr r)rr)rÀr<r=r÷rErœÚmodÚseenr(Ústackr–Úitemr'Ú_allÚpthÚmod_pathÚthis_pyÚinit_pyÚ to_importÚ old_stdoutÚ old_stderrÚnÚvÚ item_nameÚmod_namerds r2r2r2nsv€ð*€N€N€NàÐÐÐÐÐà €~؈å�&�#ÑÔð ð Ý �vÑ Ô Ð Ð øÝð ð ð ØˆIˆIˆIð øøøå”˜VÔ$ˆˆÝ �F�DÑ !Ô !ð¥Z°½Ñ%>Ô%>ðØˆØð >ð >ˆCØ �LŠLÕ0°°nØ1;ñ=ô=ñ >ô >ð >ð >àˆ å ˆ&�z„z•_Ð$Ð$¨ZÐ$Ý�r &™zœzÔ*Ð*ð €EØ"'…O•B�v‘J”JÑØ €DØ €EØŒo˜vÐ &Ð '€EØ ñU-Ø—Y’Y˜q‘\”\‰ ˆˆdÝ ˆd‰8Œ8�tÐ Ð Ø Øˆ�R�‰XŒX‰à �‰ ˆØˆà × Ò ˜DÑ !Ô !ñD ؈Dð Ø”|��øÝ!ð ð ð Ø���ð øøøðñ %¥'¨$° Ñ";Ô";ñ %Øœ=ð%ñ%�CÝ$&¤J¨s¡O¤Oð%ñ%˜Ý"$¤'§,¢,¨s°HÑ"=Ô"=˜Ý"$¤'§,¢,¨s°H¸mÑ"LÔ"L˜ÝœGŸNšN¨7Ñ3Ô3ð%Ø (× 1Ò 1°%Ñ 8Ô 8ð%à(0°°"°¬ ˜I˜IÝœWŸ^š^¨GÑ4Ô4ð%Ø(0˜I˜Ià$Ø$¨ Ò2Ð2Ø$ð%Ý),¬˜JÝ),¬˜Jð8Ø-5¨X©Z¬Z¥¤ Ø-5¨X©Z¬Z¥¤ Ý *°d°d°d¸I¸IÐ+FÑ GÔ GÐ Gà-7¥¤ Ø-7¥¤   øð.8¥¤ Ø-7¥¤ Ð 7Ð 7Ð 7Ð 7¡ øÝ0ð"ð"ð"à!Ý,ð%ð%ð%ð%™Hð%øøøñ5%õ>$ DÑ)Ô)ð 7ð 7‘��1ð$Ý '¨¨:À$À$À$ÈÈÐ7JÑ KÔ K�IÝ& q¨,¸Ñ=Ô=�H�HøÝ ð$ð$ð$ð,0¨4¨4°°Ð 3�IØ#�H�H�Hð $øøøð ˜iÐ'Ð'¨HÐ'Ø+3¨8¨8°Y°YÐ ?�Ià ×+Ò+¨D°3©JÑ7Ô7ðå! !¥UÑ+Ô+ð!àà Ø!×*Ò*¨1Ñ-Ô-ð°°ÀÀdÀÀØØ— ’ ¨¨¨¨q¨qÐ1°1Ð5Ñ6Ô6Ð6Ð6ð+ 7ð,�_Š_˜TÑ "Ô "ð ØˆDÝ# DÑ)Ô)ð 7ð 7‘��1Ø— ’ ¨¨¨¨q¨qÐ1°1Ð5Ñ6Ô6Ð6Ð6ð 7å �T˜:Ñ &Ô &ð ØˆDð Ø—.’. Ñ&Ô&ˆCˆCøÝð ð ð àˆCˆCˆCð øøøð ˆ?Ø  eÐ,ˆE�$‰Kðk ñU-ðn €Lso¥5µ AÁAÅ)E1Å1 FÅ?FÉ#K0É<.þsFø€ð(ð(ð(¨Qݘd AÑ&Ô&ð(�A•w˜t QÑ'Ô'Ð(ð(ð(ð(r?)r÷Ú getmembersrÿÚdir)r]r÷Úmemberss` r2rWrWùsyø€Ø€N€N€Nð(Ø×$Ò$ TÑ*Ô*ˆˆøÝ ð(ð(ð(ð(ð(ð(ð(µ#°d±)´)ð(ñ(ô(ˆˆˆð(øøøð €Ns‡�%AÁAcó4—ddl}| |¦«S)au Protected string evaluation. Evaluate a string containing a Python literal expression without allowing the execution of arbitrary non-literal code. .. warning:: This function is identical to :py:meth:`ast.literal_eval` and has the same security implications. It may not always be safe to evaluate large input strings. Parameters ---------- source : str The string to evaluate. Returns ------- obj : object The result of evaluating `source`. Raises ------ SyntaxError If the code has invalid Python syntax, or if it contains non-literal code. Examples -------- >>> np.safe_eval('1') 1 >>> np.safe_eval('[1, 2, 3]') [1, 2, 3] >>> np.safe_eval('{"foo": ("bar", 10.0)}') {'foo': ('bar', 10.0)} >>> np.safe_eval('import os') Traceback (most recent call last): ... SyntaxError: invalid syntax >>> np.safe_eval('open("/home/user/.ssh/id_dsa").read()') Traceback (most recent call last): ... ValueError: malformed node or string: <_ast.Call object at 0x...> rN)ÚastÚ literal_eval)rrps r2rrs"€ðd€J€J€JØ × Ò ˜FÑ #Ô #Ð#r?cóp—|jdkr|S| d|¬¦«}tj|¦«}tj |¦«r| d¦«}| ¦«s|St|tj ¦«r|Stj |||¬¦«|S)a{ Utility function to check median result from data for NaN values at the end and return NaN in that case. Input result can also be a MaskedArray. Parameters ---------- data : array Sorted input data to median function result : Array or MaskedArray Result of median function. axis : int Axis along which the median was computed. Returns ------- result : scalar or ndarray Median or NaN in axes which contained NaN in the input. If the input was an array, NaN will be inserted in-place. If a scalar, either the input itself or a scalar NaN. rr0)ÚaxisF)Úwhere) r|Útaker$ÚisnanÚmaÚ isMaskedArrayÚfilledÚanyr‘ÚgenericÚcopyto)rvÚresultrsÚpotential_nansrfs r2Ú_median_nancheckr9s°€ð* „y�A‚~€~؈ Ø—Y’Y˜r¨�YÑ-Ô-€NÝ Œ�Ñ Ô €Aõ „u×Ò˜1ÑÔðØ �HŠH�U‰OŒOˆà �5Š5‰7Œ7ðØˆ õ�&�"œ*Ñ%Ô%ðØÐõ„Iˆf�n¨AÐ.Ñ.Ô.Ð.Ø €Mr?cóÔ—ddlm}m}m}t |¦«dkrt |¦«dkrdSd |¦«}|D]}||r |d|›d�z }Œ|d|›d�z }Œ|S)a‰ Returns a string contains the supported CPU features by the current build. The string format can be explained as follows: - dispatched features that are supported by the running machine end with `*`. - dispatched features that are "not" supported by the running machine end with `?`. - remained features are representing the baseline. rrr­rWÚ*ú?)r#rrrr`r:)rrrÚenabled_featuresr1s r2Ú _opt_infor„csÀððððððððððõ Ð ÑÔ Ò!Ð!¥cÐ*:Ñ&;Ô&;¸qÒ&@Ð&@؈rà—x’xÐ 0Ñ1Ô1ÐØ#ð/ð/ˆØ ˜GÔ $ð /Ø   G   Ñ .Ð Ð à   G   Ñ .Ð Ð à Ðr?cóÖ—|j�þ|jdu}g}g}g}g}|j ¦«D]›\}}t|d¦«}||durd}| |¦«| |¦«| |d¦«| t |¦«dkrdn|d¦«Œœ|s|St |||||j¬¦«} tj | |j ¬¦«S|j �<|j \} } t| ¦«} |j€| | ur|Stj | | f¦«S|j€|Stj |j ¦«S) a¹ Returns the dtype unchanged if it contained no metadata or a copy of the dtype if it (or any of its structure dtypes) contained metadata. This utility is used by `np.save` and `np.savez` to drop metadata before saving. .. note:: Due to its limitation this function may move to a more appropriate home or change in the future and is considered semi-public API only. .. warning:: This function does not preserve more strange things like record dtypes and user dtypes may simply return the wrong thing. If you need to be sure about the latter, check the result with: ``np.can_cast(new_dtype, dtype, casting="no")``. NrTrVrŒr)ÚnamesÚformatsÚoffsetsÚtitlesr{)Úalign) ÚfieldsÚmetadatar3Ú drop_metadatar)r`Údictr{r$rzÚisalignedstructÚsubdtyper”) rzÚfound_metadatar†r‡rˆr‰r–ÚfieldÚfield_dtÚ structurer�rxÚ new_subdtypes r2r�r�s�€ð* „|ÐØœ¨tÐ3ˆàˆØˆØˆØˆØ œ<×-Ò-Ñ/Ô/ð @ð @‰KˆD�%Ý$ U¨1¤XÑ.Ô.ˆHؘu QœxÐ'Ð'Ø!%�à �LŠL˜Ñ Ô Ð Ø �NŠN˜8Ñ $Ô $Ð $Ø �NŠN˜5 œ8Ñ $Ô $Ð $Ø �MŠM¥# e¡*¤*¨q¢. .˜$˜$°e¸A´hÑ ?Ô ?Ð ?Ð ?àð ØˆL娠°'À&Ø”^ð%ñ%ô%ˆ õ Œx˜ ¨Ô)>Ð?Ñ?Ô?Ð?Ø ŒÐ #àœ.‰ˆ�%Ý$ XÑ.Ô.ˆ Ø Œ>Ð ! l°hÐ&>Ð&>؈LåŒx˜ uÐ-Ñ.Ô.Ð.ð Œ>Ð !؈LåŒx˜œ Ñ"Ô"Ð"r?rC)r6)NrêNr6)NTFN)0r8r&rar¾ÚrerNrYr(Ú_utilsrÚnumpy.core.numerictypesrrrr=rr r r6r$rOrr rAr^r r rrr·rùrúrÈrérr×rrMÚcompileÚIr6rr2rWrrr„r�rkr?r2úr›sÇðØ € € € Ø € € € Ø€€€Ø € € € Ø € € € Ø€€€ØÐÐÐØ€€€àÐÐÐÐÐØHÐHÐHÐHÐHÐHÐHÐHÐHÐHØ.Ð.Ð.Ð.Ð.Ð.Ð.Ð.Ð.Ð.ØÐÐÐð ð ð €ð2ð2ð2ðj ð ð ð:AðAðAðAðAñAôAðAðH ð ð ð2+ð2+ð2+ðj#ð#ð#ð>1ð1ð1ðr\ ð\ ð\ ð\ ðNððð& € Ø € ððððð(3/ð3/ð3/ð3/ðl €ˆGÑÔðc3ðc3ðc3ñÔðc3ðL €ˆGÑÔØœ*ð-=ð-=ð-=ñÔð-=ðf€ð$˜œÐ$=¸r¼tÑDÔDÐ𠀈GÑÔØ?DØðy$ðy$ðy$ñÔðy$ðvIðIðIðVððð3$ð3$ð3$ðl(ð(ð(ðTððð8<#ð<#ð<#ð<#ð<#r?