§ 1je@ã ó¤ —dZddlZddlZddlmZmZddlmZmZm Z m Z m Z  e n #e $rdZ YnwxYwe rej d¦«�nvddlmZ dd lmZn#e$rZd Zee¦«e‚dZ[wwxYwgd ¢ZiZdd lmZdd lTddlmZddlmZddlmZddlmZdd lTddlmZddlmZddlm Z ddlm!Z!ddlm"Z"ddlm#Z#ddlm$Z%dd l$Tddl&Z'dZ(dZ)dZ*dde) +d¦«fde) +d ¦«fd!e) +d"¦«fd#e) +d$¦«fd%e* +d%¦«fgZ,d&„e,D¦«Z-d'Z(d(e.d)fd*e/d+fd,e0d-fd.e1d/fd0e2d1fd2e3d3fd4e4d5fgZ,hd6£Z5e 6d7„e,D¦«¦«ddl7Z7e7d8fed9<[7[([,dd:lm8Z8ej9 :¦«e ;d;d¦«[=[>e <d?¦«e <d@¦«e <dA¦«[?gdB¢Z@dC„e@D¦«ZAejBdDdE¬F¦«ejBdDdG¬F¦«ejBdDdH¬F¦«dIZCdIZDdJ„ZEdK„ZFddLlGmHZHeHeI¦«ZJ[HdM„ZKeK¦«[KdN„ZLejMdOkrŸejNdP¬Q¦«5ZOeL¦«dRZPeQeO¦«dkrZdS +eOdTjRjIeSeOdTjT¦«¦«ZPdU +eP¦«ZeUe¦«‚ ddd¦«n #1swxYwY[LddlVZVeVjW XdVd¦«ZYejMdWkr_eY€] dZYeVjZ¦«j[ \dX¦«ddY…Z]e^dZ„e]D¦«¦«Z]e]d[krdZYn#e_$rdZ`YnwxYweY€dZYn eaeY¦«ZYejb ceY¦«[Yejbjd e¦«ejfeVjW Xd\eg¦«rd]nd^¦«¦«d_„Zh[Vdd`limjZjmkZl[[dS)aa„ NumPy ===== Provides 1. An array object of arbitrary homogeneous items 2. Fast mathematical operations over arrays 3. Linear Algebra, Fourier Transforms, Random Number Generation How to use the documentation ---------------------------- Documentation is available in two forms: docstrings provided with the code, and a loose standing reference guide, available from `the NumPy homepage `_. We recommend exploring the docstrings using `IPython `_, an advanced Python shell with TAB-completion and introspection capabilities. See below for further instructions. The docstring examples assume that `numpy` has been imported as ``np``:: >>> import numpy as np Code snippets are indicated by three greater-than signs:: >>> x = 42 >>> x = x + 1 Use the built-in ``help`` function to view a function's docstring:: >>> help(np.sort) ... # doctest: +SKIP For some objects, ``np.info(obj)`` may provide additional help. This is particularly true if you see the line "Help on ufunc object:" at the top of the help() page. Ufuncs are implemented in C, not Python, for speed. The native Python help() does not know how to view their help, but our np.info() function does. To search for documents containing a keyword, do:: >>> np.lookfor('keyword') ... # doctest: +SKIP General-purpose documents like a glossary and help on the basic concepts of numpy are available under the ``doc`` sub-module:: >>> from numpy import doc >>> help(doc) ... # doctest: +SKIP Available subpackages --------------------- lib Basic functions used by several sub-packages. random Core Random Tools linalg Core Linear Algebra Tools fft Core FFT routines polynomial Polynomial tools testing NumPy testing tools distutils Enhancements to distutils with support for Fortran compilers support and more. Utilities --------- test Run numpy unittests show_config Show numpy build configuration matlib Make everything matrices. __version__ NumPy version string Viewing documentation using IPython ----------------------------------- Start IPython and import `numpy` usually under the alias ``np``: `import numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste examples into the shell. To see which functions are available in `numpy`, type ``np.`` (where ```` refers to the TAB key), or use ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow down the list. To view the docstring for a function, use ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view the source code). Copies vs. in-place operation ----------------------------- Most of the functions in `numpy` return a copy of the array argument (e.g., `np.sort`). In-place versions of these functions are often available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. Exceptions to this rule are documented. éNé)Ú_NoValueÚ _CopyMode)ÚComplexWarningÚModuleDeprecationWarningÚVisibleDeprecationWarningÚ TooHardErrorÚ AxisErrorFz%Running from numpy source directory. )Ú_distributor_init)Úshowz¸Error importing numpy: you should not try to import numpy from its source directory; please exit the numpy source tree, and relaunch your python interpreter from there.)Ú exceptionsrrrr r )Úcore)Ú*)Úcompat)r )Údtypes)Úlib)Úlinalg)Úfft)Ú polynomial)Úrandom)Ú ctypeslib)Úma)Ú matrixliba–module 'numpy' has no attribute '{n}'. `np.{n}` was a deprecated alias for the builtin `{n}`. To avoid this error in existing code, use `{n}` by itself. Doing this will not modify any behavior and is safe. {extended_msg} The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecationszCIf you specifically wanted the numpy scalar type, use `np.{}` here.zÃWhen replacing `np.{}`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information.)ÚobjectÚÚboolÚbool_ÚfloatÚfloat64ÚcomplexÚ complex128ÚstrÚstr_ÚintcóN—i|]"\}}|t ||¬¦«“Œ#S))ÚnÚ extended_msg©Ú_msgÚformat)Ú.0r&r's úE/opt/cloudlinux/venv/lib64/python3.11/site-packages/numpy/__init__.pyú r-»s>€ðððá ˆQ� ð �D�KŠK˜!¨,ˆKÑ 7Ô 7ðððózC`np.{n}` is a deprecated alias for `{an}`. (Deprecated NumPy 1.24)Úbool8znp.bool_Úint0znp.intpÚuint0znp.uintpÚstr0znp.str_Úbytes0z np.bytes_Úvoid0znp.voidÚobject0zk`np.object0` is a deprecated alias for `np.object_`. `object` can be used instead. (Deprecated NumPy 1.24)>r"rÚlongÚbytesÚulongrcóT—i|]%\}}}||t ||¬¦«f“Œ&S))r&Úanr()r+r&Úaliasr:s r,r-r-ØsH€ð!Lð!Lð!LÙ0<°°5¸"ˆˆE•4—;’;  r�;Ñ*Ô*Ð +ð!Lð!Lð!Lr.z‡`np.math` is a deprecated alias for the standard library `math` module (Deprecated Numpy 1.25). Replace usages of `np.math` with `math`Úmath)ÚabsÚ __version__Ú show_config)rrrrrÚ issubdtyper6ÚunicodeÚ Arrayterator) ÚfvÚipmtÚirrÚmirrÚnperÚnpvÚpmtÚppmtÚpvÚratecó—i|] }|d|›d�“Œ S)z(In accordance with NEP 32, the function zœ was removed from NumPy version 1.20. A replacement for this function is available in the numpy_financial library: https://pypi.org/project/numpy-financial©)r+Únames r,r-r-s@€ð&ð&ð&ð ð ð:¸$ð:ð:ð:ð&ð&ð&r.Úignoreznumpy.dtype size changed)Úmessageznumpy.ufunc size changedznumpy.ndarray size changedÚremovedcó,‡—ddl}ddl} t|Š|j‰td¬¦«ˆfd„}|S#t $rYnwxYw t |\}Š|j‰td¬¦«|S#t $rYnwxYw|tvr|jd|›d�td¬¦«|tvrtt|¦«‚|dkrddl m }|S|dkr td ¦«‚td  t|¦«¦«‚) Nré)Ú stacklevelcó"•—t‰¦«‚©N)Ú RuntimeError)ÚargsÚkwdsÚmsgs €r,Ú_expiredz__getattr__.._expired#sø€Ý" 3Ñ'Ô'Ð'r.zIn the future `np.z4` will be defined as the corresponding NumPy scalar.ÚtestingÚTesterz!Tester was removed in NumPy 1.25.z!module {!r} has no attribute {!r})Úwarningsr<Ú__expired_functions__ÚwarnÚDeprecationWarningÚKeyErrorÚ__deprecated_attrs__Ú__future_scalars__Ú FutureWarningÚ__former_attrs__ÚAttributeErrorÚ numpy.testingr]rXr*Ú__name__)Úattrr_r<r\Úvalr]r[s @r,Ú __getattr__rms«ø€ð ˆˆˆØˆ ˆ ˆ ð Ý'¨Ô-ˆCð ˆHŒM˜#Õ1¸aÐ @Ñ @Ô @Ð @ð (ð (ð (ð (ð (ðˆOøõð ð ð Ø ˆDð øøøð Ý+¨DÔ1‰HˆC�ð ˆHŒM˜#Õ1¸aÐ @Ñ @Ô @Ð @؈Jøõ ð ð ð Ø ˆDð øøøð Õ%Ð %Ð %ð ˆHŒMð. Tð.ð.ð.Ý/<Èð Lñ Lô Lð Lð Õ#Ð #Ð #Ý Õ!1°$Ô!7Ñ8Ô8Ð 8à �9Ò Ð Ø +Ð +Ð +Ð +Ð +Ð +؈NØ �XÒ Ð Ø %ÝÐBÑCÔCÐ Cåð$ß$*¢F­8°TÑ$:Ô$:ñ<ô<ð A?cóv—t¦« ¦«dhz}|hd£z}t|¦«S)Nr]>rr rr rrr)ÚglobalsÚkeysÚlist)Úpublic_symbolss r,Ú__dir__rsEsE€Ý ™œŸšÑ)Ô)¨Y¨KÑ7ˆØð ð ð ñ ˆõ �NÑ#Ô#Ð#r.)Ú PytestTestercó,— tdt¬¦«}t| |¦«td¦«z ¦«dkst ¦«‚dS#t$r+d}t | t¦«¦«d‚wxYw)aŽ Quick sanity checks for common bugs caused by environment. There are some cases e.g. with wrong BLAS ABI that cause wrong results under specific runtime conditions that are not necessarily achieved during test suite runs, and it is useful to catch those early. See https://github.com/numpy/numpy/issues/8577 and other similar bug reports. rT)Údtypeç@gñh㈵øä>zúThe current Numpy installation ({!r}) fails to pass simple sanity checks. This can be caused for example by incorrect BLAS library being linked in, or by mixing package managers (pip, conda, apt, ...). Search closed numpy issues for similar problems.N)ÚonesÚfloat32r=ÚdotÚAssertionErrorrXr*Ú__file__)Úxr[s r,Ú _sanity_checkr~Ts•€ð ?Ý�Q�gÐ&Ñ&Ô&ˆAÝ�q—u’u˜Q‘x”x¥'¨#¡,¤,Ñ.Ñ/Ô/°$Ò6Ð6Ý$Ñ&Ô&Ð&ð7Ð6øåð ?ð ?ð ?ð8ˆCõ ˜sŸzšz­(Ñ3Ô3Ñ4Ô4¸$Ð >ð  ?øøøs ‚AAÁ5Bcó´— tgd¢¦«}tddd¦«}t||¦«}t||dd¬¦«}dS#t$rYdSwxYw)z‡ Quick Sanity check for Mac OS look for accelerate build bugs. Testing numpy polyfit calls init_dgelsd(LAPACK) )g@rwgð?rrTéT)ÚcovN)ÚarrayÚlinspaceÚpolyvalÚpolyfitÚ ValueError)Úcr}ÚyÚ_s r,Ú _mac_os_checkrŠnsr€ð  Ý�l�l�lÑ#Ô#ˆAݘ˜A˜qÑ!Ô!ˆAݘ˜1‘ ” ˆAݘ˜1˜a TÐ*Ñ*Ô*ˆAˆAˆAøÝð ð ð Ø ˆDˆDð øøøs‚AA Á AÁAÚdarwinT)Úrecordrz{}: {}éÿÿÿÿa&Polyfit sanity test emitted a warning, most likely due to using a buggy Accelerate backend. If you compiled yourself, more information is available at: https://numpy.org/doc/stable/user/building.html#accelerated-blas-lapack-libraries Otherwise report this to the vendor that provided NumPy. {} ÚNUMPY_MADVISE_HUGEPAGEÚlinuxú.rTc#ó4K—|]}t|¦«V—ŒdSrW)r$)r+Úvs r,ú r“šs(èè€Ð"BÐ"B¨a¥3 q¡6¤6Ð"BÐ"BÐ"BÐ"BÐ"BÐ"Br.)ééÚNPY_PROMOTION_STATEÚweakÚlegacycó”—ddlm}t|t¦« d¦« ¦«¦«gS)Nr©ÚPathÚ _pyinstaller)Úpathlibr›r"r|Ú with_nameÚresolveršs r,Ú_pyinstaller_hooks_dirr ´sG€Ø Ð Ð Ð Ð Ð Ý�D�D�‘N”N×,Ò,¨^Ñ<Ô<×DÒDÑFÔFÑGÔGÐHÐHr.)r>Ú git_revision)mÚ__doc__Úsysr_Ú_globalsrrr rrrr r Ú__NUMPY_SETUP__Ú NameErrorÚstderrÚwriterr Únumpy.__config__r r?Ú ImportErrorÚer[Ú__all__rdrrrrrrrrrrrÚ_matÚbuiltinsÚ _builtinsr)Ú _specific_msgÚ_int_extended_msgr*Ú _type_inforgrÚintpÚuintpr#Úbytes_ÚvoidÚobject_reÚupdater<r=Ú getlimitsÚ_register_known_typesÚextendÚremover6rArBÚ_financial_namesr`ÚfilterwarningsÚ oldnumericÚnumarrayrmrsÚnumpy._pytesttesterrtrjÚtestr~rŠÚplatformÚcatch_warningsÚwÚ error_messageÚlenÚcategoryr"rQrXÚosÚenvironÚgetÚ use_hugepageÚunameÚreleaseÚsplitÚkernel_versionÚtupler†Ú use_hugepagesr$Ú multiarrayÚ_set_madvise_hugepageÚ_multiarray_umathÚ _reload_guardÚ_set_promotion_stateÚ_using_numpy2_behaviorr Úversionr>r¡Ú__git_version__rNr.r,úrÛscððdðdðJ € € € Ø€€€à)Ð)Ð)Ð)Ð)Ð)Ð)Ð)ððððððððððððððð Ø€O€OøØðððØ€O€O€OðøøøððC Ø„J×ÒÐ=Ñ>Ô>Ð>Ñ>ð$Ð#Ð#Ð#Ð#Ð#ð&Ø8Ð8Ð8Ð8Ð8Ð8Ð8øØ ð&ð&ð&ð/ˆðˆk˜#ÑÔ AÐ%øøøøð &øøøð 7ð7ð7€Gð ÐàÐÐÐÐÐØÐÐÐØÐÐÐÐÐØÐÐÐÐÐØÐÐÐÐÐØÐÐÐÐÐðÐÐÐàÐÐÐÐÐØÐÐÐÐÐØÐÐÐÐÐØÐÐÐÐÐØÐÐÐÐÐØÐÐÐÐÐØ#Ð#Ð#Ð#Ð#Ð#ØÐÐÐð!Ð Ð Ð ð Oð ð Nðð "ðð Ø �×%Ò% gÑ.Ô.Ð/Ø �-×&Ò& yÑ1Ô1Ð2Ø �M×(Ò(¨Ñ6Ô6Ð7Ø � ×$Ò$ VÑ,Ô,Ð-Ø Ð!×(Ò(¨Ñ/Ô/Ð0ð 2€Jððà *ðñôÐð Nð ð �%˜Ð$Ø ��yÐ!Ø �%˜Ð$Ø ��yÐ!Ø �6˜;Ð'Ø �$˜ Ð"Ø �Gð Eð Fð G€Jð MÐLÐLÐà×Òð!Lð!LØ@Jð!Lñ!Lô!LñMôMðMð€K€K€Kà$(ð ð$Ð˜Ñ ð ˆd�JàÐÐÐÐÐà„N×(Ò(Ñ*Ô*Ð*à ‡N‚N�M =Ð1Ñ2Ô2Ð2Ø ‡N‚N�4”<Ñ Ô Ð Ø ‡N‚N�4”<Ñ Ô Ð Ø ‡N‚N�3”;ÑÔÐØ ‡N‚NÐAÐAÐAÑBÔBÐBð ‡N‚N�<Ñ Ô Ð ð ˆgØ ‡N‚N�6ÑÔÐØ ‡N‚N�9ÑÔÐð ‡N‚N�>Ñ"Ô"Ð"Øð .ð.ð.Ðð&ð&ð %ð &ñ&ô&Ðð€HÔ˜HÐ.HÐIÑIÔIÐIØ€HÔ˜HÐ.HÐIÑIÔIÐIØ€HÔ˜HÐ.JÐKÑKÔKÐKð€JØ€Hð,<ð,<ð,<ð\$ð$ð$ð1Ð0Ð0Ð0Ð0Ð0Ø ˆ<˜Ñ !Ô !€DØð?ð?ð?ð.€M�O„O€OØð ð ð ð „|�xÒÐØ $ˆXÔ $¨DÐ 1Ñ 1Ô 1ð (°QØ ˆM‰OŒOˆOàˆM؈s�1‰vŒv˜ŠzˆzØ (§¢°°"´´Ô0GÈÈÈQÈrÌUÌ]ÑI[ÔI[Ñ \Ô \� ð1÷ 28²¸ Ñ1FÔ1Fð ð#�l 3Ñ'Ô'Ð'ðð (ð (ð (ñ (ô (ð (ð (ð (ð (ð (ð (øøøð (ð (ð (ð (ð ð €I€I€IØ”:—>’>Ð":¸DÑAÔA€LØ „|�wÒР<Ð#7ð  ØˆLØ%˜RœX™ZœZÔ/×5Ò5°cÑ:Ô:¸2¸A¸2Ô>ˆNØ"˜UÐ"BÐ"B°>Ð"BÑ"BÔ"BÑBÔBˆNØ Ò&Ð&Ø � øøØð ð ð ØˆMˆMˆMð øøøà Ð àˆ ˆ à�s˜<Ñ(Ô(ˆ ð „O×)Ò)¨,Ñ7Ô7Ð7Øð  „OÔ%×3Ò3Ñ5Ô5Ð5ð€DÔØ Œ �ŠÐ,Ø!7Ð!7Ñ!9Ô!9ÐG�v�v¸xñ Iô IñJôJðJð IðIðIð ðBÐAÐAÐAÐAÐAÐAÐAðˆˆˆsJ¢%¥/®/ÁAÁA6Á#A1Á1A6Ì,A6N/Î/N3Î6N3Ï(AP7Ð7QÑQ