FantasyNomes
FantasyNomes is one python package that able to do operation like add, sub on polynome. FantasyNomes optimise the memorie space by using dict for store coef and power
Development Status :: 4 - Beta
Environment :: Console
Framework :: Jupyter :: JupyterLab
License :: OSI Approved :: Apache Software License
Natural Language :: English
Programming Language :: Python
Programming Language :: Python :: 3
Operating System :: OS Independent
Intended Audience :: Developers
Topic :: Education
Topic :: Scientific/Engineering :: Mathematics
Features
- Addition : With int, float or polynome
- Substraction :
- Multiplication :
- Division euclidienne
Installation
pip install FantasyNomes
Quickstart
>>>import FantasyNomes as fn
>>># x0, x1, x2, ... ,xn
>>>poly1 = fn.Polynome([1,1,2])
>>>poly2 = fn.Polynome([0,1])
>>>poly1
2*X^2+1*X^1+1
>>>print(poly2)
1*X^1
>>>poly2 - 4
1*X^1-4
>>>type(poly1)
FantasyNomes.polynome.Polynome
>>># degree
>>>len(poly1)
2
>>>print(poly1 * -1 )
-2*X^2-1*X^1-1
>>>div, res = poly1/poly2
>>>print(div)
2.0*X^1+1.0
>>>print(res)
1
>>>poly1==poly1
True
>>>poly1==poly2
False
>>>poly3 = fn.Polynome([1])
>>>print( poly3*poly2)
1*X^2
Metadata
Release files for FantasyNomes 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| FantasyNomes-1.2.tar.gz | 7.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| FantasyNomes-1.2-py3.9.egg | Legacy Egg format | - | - | Details |
Total release size: 13.6 kB
Release files / FantasyNomes-1.2.tar.gz
| Download URL | FantasyNomes-1.2.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c2ba6ff8db39fa065c52c78c382b7aa851bb892f83b7aac5609a47fe68f236d
|
|
BLAKE2b-256 checksum How to use checksums |
dfe02a22018ce11efd4c6541ecabf664ebccefe1cc7a370956834d07c40321d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / FantasyNomes-1.2-py3.9.egg
| Download URL | FantasyNomes-1.2-py3.9.egg |
|---|---|
| Size | 6.0 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
5f702e5911952bc421b1b8be3f460f551073b42d36983f6722da842d36038757
|
|
BLAKE2b-256 checksum How to use checksums |
5353a872f128f736ca11bb582412dfe634c8f8fafdb07cc04a07c01faeffa197
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for FantasyNomes 1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.