five

adnus

收藏
DataCite Commons2025-07-22 更新2025-09-08 收录
下载链接:
https://figshare.com/articles/dataset/adnus/29621336
下载链接
链接失效反馈
官方服务:
资源简介:
adnus (AdNuS): Advanced Number Systemsadnus is a Python library that provides an implementation of various advanced number systems. This library is designed for mathematicians, researchers, and developers who need to work with number systems beyond the standard real and complex numbers. Features<pre><pre>Harmonic and Oresme Sequences: Functions to generate harmonic numbers and Oresme sequences.<br>Bicomplex Numbers: A class for bicomplex numbers with full arithmetic support.<br>Neutrosophic Numbers: Classes for neutrosophic numbers, including their complex and bicomplex extensions.<br>Hyperreal Numbers: A conceptual implementation of hyperreal numbers.<br>Extensible Design: Built with an abstract base class to easily extend and add new number systems.<br>Fully Typed: The library is fully type-hinted for better code quality and maintainability.<br></pre></pre>InstallationTo install the library, clone the repository and use Poetry:git clone https://github.com/WhiteSymmetry/adnus.git cd adnus poetry installUsageHere's a quick overview of how to use the different number systems available in adnus. Bicomplex Numbersimport adnus as ad #from adnus import BicomplexNumberz1 = ad.BicomplexNumber(1 + 2j, 3 + 4j) z2 = ad.BicomplexNumber(5 + 6j, 7 + 8j)print(f"Addition: {z1 + z2}") print(f"Multiplication: {z1 * z2}")Neutrosophic Numbersimport adnus as adn1 = ad.NeutrosophicNumber(1.5, 2.5) n2 = ad. NeutrosophicNumber(3.0, 4.0)print(f"Addition: {n1 + n2}") print(f"Multiplication: {n1 * n2}")Running TestsTo ensure everything is working correctly, you can run the included tests using pytest:poetry run pytestKurulum (Türkçe) / Installation (English) Python ile Kurulum / Install with pip, conda, mambapip install adnus -U python -m pip install -U adnus conda install bilgi::adnus -y mamba install bilgi::adnus -ypip uninstall adnus -ypip install -U adnuspython -m pip install -U adnusGithub Master Kurulumu / GitHub Master InstallationTerminal:pip install git+https://github.com/WhiteSymmetry/adnus.gitJupyter Lab, Notebook, Visual Studio Code:!pip install git+https://github.com/WhiteSymmetry/adnus.gitor%pip install git+https://github.com/WhiteSymmetry/adnus.git
提供机构:
figshare
创建时间:
2025-07-22
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作