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.0.tar.gz
(17.2 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.0-py3-none-any.whl
(10.6 kB
view details)
File details
Details for the file fuzzytri-1.0.0.tar.gz.
File metadata
- Download URL: fuzzytri-1.0.0.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7d6c74468bea988ab817be8f18790b701bfdfa1e5a2197c2c4f15a67d29185d
|
|
| MD5 |
d386503f9e258412219889c04e66aafe
|
|
| BLAKE2b-256 |
83cbfcbccc8d3385e953047ae79b3b9db3c31d735e593a944968b3a5ed0cfe23
|
File details
Details for the file fuzzytri-1.0.0-py3-none-any.whl.
File metadata
- Download URL: fuzzytri-1.0.0-py3-none-any.whl
- Upload date:
- Size: 10.6 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 |
d31cb1939c72260500854d850c20def2b6d20b01f08acd2d1a6d9798921f8057
|
|
| MD5 |
a41e65015fdd3b6378d299b9718a7a02
|
|
| BLAKE2b-256 |
71a371bf50edc54515205ed63e1d9e0d7e3e758f5604aa533888f0eaec1d4b88
|