Noravshan mantiq nazariyasi va amaliyoti uchun Python kutubxonasi
Project description
FuzzyTri
Noravshan mantiq nazariyasi va amaliyoti uchun Python kutubxonasi.
O'rnatish
pip install fuzzytri
Yoki manba koddan o'rnatish:
- git clone https://github.com/username/fuzzytri.git
- cd fuzzytri
- pip install -e .
Tezkor Boshlash
from fuzzytri import FuzzyTriangular, FuzzyOperations
# Vektorlar yaratish
v1 = FuzzyTriangular(3.0, 2.0, 1.0)
v2 = FuzzyTriangular(2.0, 1.0, 3.0)
# Asosiy operatsiyalar
qoshish = v1 + v2
ayirish = v1 - v2
kopaytirish = v1 * v2
bolish = v1 / v2
print(f"Qo'shish: {qoshish}")
print(f"Ko'paytirish: {kopaytirish}")
Loyihani Ishga Tushirish
# Kutubxonani o'rnatish
pip install -e .
# Testlarni ishga tushirish
pytest
# Misollarni ishga tushirish
python examples/basic_usage.py
python examples/advanced_operations.py
#� �f�u�z�z�y�t�r�i� � �
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fuzzytri-1.0.1.tar.gz
(18.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
fuzzytri-1.0.1-py3-none-any.whl
(11.3 kB
view details)
File details
Details for the file fuzzytri-1.0.1.tar.gz.
File metadata
- Download URL: fuzzytri-1.0.1.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc8e5d7b0dcbb1859b855c6c77007181e5f83966e07160d02177cb8ece297a20
|
|
| MD5 |
913aea10c4066ed94d7dde49888c7825
|
|
| BLAKE2b-256 |
187227d03b7dc6164696ee4d6d0fc3ea6f9659e925ee642409bd6e34defe1259
|
File details
Details for the file fuzzytri-1.0.1-py3-none-any.whl.
File metadata
- Download URL: fuzzytri-1.0.1-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3a83200a787d24cd1b585dc2c3686c5497bc53afe785f0454350150ef1e2908
|
|
| MD5 |
a0def137475ac9abe2d05c14809f7ca0
|
|
| BLAKE2b-256 |
ee59c9ded4ff09a320377e220622e5c220829c75a4baba71ca6410d5949c7c56
|