adnus 0.2.0__tar.gz → 0.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {adnus-0.2.0 → adnus-0.2.1}/CITATION.cff +1 -1
- {adnus-0.2.0 → adnus-0.2.1}/PKG-INFO +54 -1
- {adnus-0.2.0 → adnus-0.2.1}/README.md +53 -0
- {adnus-0.2.0 → adnus-0.2.1}/meta.yaml +2 -2
- adnus-0.2.1/notebook/adnus-020.ipynb +503 -0
- {adnus-0.2.0 → adnus-0.2.1}/recipe/meta.yaml +2 -2
- {adnus-0.2.0 → adnus-0.2.1}/src/adnus/__init__.py +2 -6
- {adnus-0.2.0 → adnus-0.2.1}/src/adnus/_version.py +1 -1
- {adnus-0.2.0 → adnus-0.2.1}/src/adnus/main.py +1158 -1047
- {adnus-0.2.0 → adnus-0.2.1}/src/adnus.egg-info/PKG-INFO +54 -1
- {adnus-0.2.0 → adnus-0.2.1}/src/adnus.egg-info/SOURCES.txt +1 -0
- {adnus-0.2.0 → adnus-0.2.1}/tests/test_adnus.py +0 -4
- {adnus-0.2.0 → adnus-0.2.1}/.gitattributes +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/.github/CODEOWNERS +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/.github/dependabot.yml +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/.github/workflows/ci-cd.yml +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/.github/workflows/codeql.yml +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/.github/workflows/conda-publish.yml +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/.github/workflows/jekyll-gh-pages.yml +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/.github/workflows/lint.yml +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/.github/workflows/python-package.yml +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/.github/workflows/python-publish.yml +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/.github/workflows/python_ci.yml +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/.github/workflows/static.yml +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/.github/workflows/workflow.yml +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/.github/workflows/zenodo.yml +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/.gitignore +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/.pre-commit-config.yaml +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/.readthedocs.yaml +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/.ruff.toml +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/.zenodo.json +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/CODE_OF_CONDUCT.md +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/CONTRIBUTING.md +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/LICENSE +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/MANIFEST.in +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/SECURITY.md +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/conda_build_config.yaml +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/docs/conf.py +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/docs/index.rst +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/docs/requirements.txt +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/package-lock.json +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/package.json +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/poetry.lock +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/pyproject.toml +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/requirements.txt +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/setup.cfg +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/setup.py +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/src/adnus.egg-info/dependency_links.txt +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/src/adnus.egg-info/requires.txt +0 -0
- {adnus-0.2.0 → adnus-0.2.1}/src/adnus.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: adnus
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: A Python library for Advanced Number Systems (AdNuS), including Bicomplex, Neutrosophic, Hyperreal numbers, reals, Complex, Quaternion, Octonion, Sedenion, Pathion, Chingon, Routon, Voudon.
|
|
5
5
|
Home-page: https://github.com/WhiteSymmetry/adnus
|
|
6
6
|
Author: Mehmet Keçeci
|
|
@@ -958,3 +958,56 @@ This project is licensed under the AGPL License.
|
|
|
958
958
|
|
|
959
959
|
Contributions are welcome! Please feel free to submit a pull request or open an issue for any bugs or feature requests.
|
|
960
960
|
|
|
961
|
+
# Pixi:
|
|
962
|
+
|
|
963
|
+
[](https://prefix.dev/channels/bilgi)
|
|
964
|
+
|
|
965
|
+
pixi init adnus
|
|
966
|
+
|
|
967
|
+
cd adnus
|
|
968
|
+
|
|
969
|
+
pixi workspace channel add https://repo.prefix.dev/bilgi --prepend
|
|
970
|
+
|
|
971
|
+
✔ Added https://repo.prefix.dev/bilgi
|
|
972
|
+
|
|
973
|
+
pixi add adnus
|
|
974
|
+
|
|
975
|
+
✔ Added adnus >=0.2.0,<2
|
|
976
|
+
|
|
977
|
+
pixi install
|
|
978
|
+
|
|
979
|
+
pixi shell
|
|
980
|
+
|
|
981
|
+
pixi run python -c "import adnus; print(adnus.__version__)"
|
|
982
|
+
|
|
983
|
+
### Çıktı: 0.2.0
|
|
984
|
+
|
|
985
|
+
pixi remove adnus
|
|
986
|
+
|
|
987
|
+
conda install -c https://prefix.dev/bilgi adnus
|
|
988
|
+
|
|
989
|
+
pixi run python -c "import adnus; print(adnus.__version__)"
|
|
990
|
+
|
|
991
|
+
### Çıktı: 0.2.0
|
|
992
|
+
|
|
993
|
+
pixi run pip list | grep adnus
|
|
994
|
+
|
|
995
|
+
### adnus 0.2.0
|
|
996
|
+
|
|
997
|
+
pixi run pip show adnus
|
|
998
|
+
|
|
999
|
+
Name: adnus
|
|
1000
|
+
|
|
1001
|
+
Version: 0.2.0
|
|
1002
|
+
|
|
1003
|
+
Summary: A Python library for Advanced Number Systems (AdNuS), including Bicomplex, Neutrosophic, Hyperreal numbers, reals, Complex, Quaternion, Octonion, Sedenion, Pathion, Chingon, Routon, Voudon.
|
|
1004
|
+
|
|
1005
|
+
Home-page: https://github.com/WhiteSymmetry/adnus
|
|
1006
|
+
|
|
1007
|
+
Author: Mehmet Keçeci
|
|
1008
|
+
|
|
1009
|
+
Author-email: Mehmet Keçeci <...>
|
|
1010
|
+
|
|
1011
|
+
License: GNU AFFERO GENERAL PUBLIC LICENSE
|
|
1012
|
+
|
|
1013
|
+
Copyright (c) 2025-2026 Mehmet Keçeci
|
|
@@ -267,3 +267,56 @@ This project is licensed under the AGPL License.
|
|
|
267
267
|
|
|
268
268
|
Contributions are welcome! Please feel free to submit a pull request or open an issue for any bugs or feature requests.
|
|
269
269
|
|
|
270
|
+
# Pixi:
|
|
271
|
+
|
|
272
|
+
[](https://prefix.dev/channels/bilgi)
|
|
273
|
+
|
|
274
|
+
pixi init adnus
|
|
275
|
+
|
|
276
|
+
cd adnus
|
|
277
|
+
|
|
278
|
+
pixi workspace channel add https://repo.prefix.dev/bilgi --prepend
|
|
279
|
+
|
|
280
|
+
✔ Added https://repo.prefix.dev/bilgi
|
|
281
|
+
|
|
282
|
+
pixi add adnus
|
|
283
|
+
|
|
284
|
+
✔ Added adnus >=0.2.0,<2
|
|
285
|
+
|
|
286
|
+
pixi install
|
|
287
|
+
|
|
288
|
+
pixi shell
|
|
289
|
+
|
|
290
|
+
pixi run python -c "import adnus; print(adnus.__version__)"
|
|
291
|
+
|
|
292
|
+
### Çıktı: 0.2.0
|
|
293
|
+
|
|
294
|
+
pixi remove adnus
|
|
295
|
+
|
|
296
|
+
conda install -c https://prefix.dev/bilgi adnus
|
|
297
|
+
|
|
298
|
+
pixi run python -c "import adnus; print(adnus.__version__)"
|
|
299
|
+
|
|
300
|
+
### Çıktı: 0.2.0
|
|
301
|
+
|
|
302
|
+
pixi run pip list | grep adnus
|
|
303
|
+
|
|
304
|
+
### adnus 0.2.0
|
|
305
|
+
|
|
306
|
+
pixi run pip show adnus
|
|
307
|
+
|
|
308
|
+
Name: adnus
|
|
309
|
+
|
|
310
|
+
Version: 0.2.0
|
|
311
|
+
|
|
312
|
+
Summary: A Python library for Advanced Number Systems (AdNuS), including Bicomplex, Neutrosophic, Hyperreal numbers, reals, Complex, Quaternion, Octonion, Sedenion, Pathion, Chingon, Routon, Voudon.
|
|
313
|
+
|
|
314
|
+
Home-page: https://github.com/WhiteSymmetry/adnus
|
|
315
|
+
|
|
316
|
+
Author: Mehmet Keçeci
|
|
317
|
+
|
|
318
|
+
Author-email: Mehmet Keçeci <...>
|
|
319
|
+
|
|
320
|
+
License: GNU AFFERO GENERAL PUBLIC LICENSE
|
|
321
|
+
|
|
322
|
+
Copyright (c) 2025-2026 Mehmet Keçeci
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{% set version = "0.2.
|
|
1
|
+
{% set version = "0.2.1" %}
|
|
2
2
|
|
|
3
3
|
package:
|
|
4
4
|
name: adnus
|
|
@@ -32,7 +32,7 @@ test:
|
|
|
32
32
|
|
|
33
33
|
about:
|
|
34
34
|
home: https://github.com/WhiteSymmetry/adnus
|
|
35
|
-
license:
|
|
35
|
+
license: AGPL-3.0-or-later
|
|
36
36
|
license_file: LICENSE
|
|
37
37
|
summary: 'adnus (AdNuS): Advanced Number Systems'
|
|
38
38
|
description: |
|
|
@@ -0,0 +1,503 @@
|
|
|
1
|
+
{
|
|
2
|
+
"cells": [
|
|
3
|
+
{
|
|
4
|
+
"cell_type": "code",
|
|
5
|
+
"execution_count": 1,
|
|
6
|
+
"id": "a8af52ee-8553-4bee-b108-4c0c491da0c2",
|
|
7
|
+
"metadata": {},
|
|
8
|
+
"outputs": [
|
|
9
|
+
{
|
|
10
|
+
"name": "stdout",
|
|
11
|
+
"output_type": "stream",
|
|
12
|
+
"text": [
|
|
13
|
+
"adnus 0.2.0 - Advanced Number Systems Library\n",
|
|
14
|
+
"🚀 Running detailed adnus tests with results...\n",
|
|
15
|
+
"\n",
|
|
16
|
+
"\n",
|
|
17
|
+
"=== BicomplexNumber Addition Test ===\n",
|
|
18
|
+
"bc1 = Bicomplex(1, 2, 3, 4)\n",
|
|
19
|
+
"bc2 = Bicomplex(5, 6, 7, 8)\n",
|
|
20
|
+
"result = bc1 + bc2 = Bicomplex(6.0, 8.0, 10.0, 12.0)\n",
|
|
21
|
+
"✅ Test passed!\n",
|
|
22
|
+
"\n",
|
|
23
|
+
"=== BicomplexNumber Multiplication Test ===\n",
|
|
24
|
+
"bc1 = Bicomplex(1, 1, 1, 1)\n",
|
|
25
|
+
"bc2 = Bicomplex(1, 1, 1, 1)\n",
|
|
26
|
+
"result = bc1 * bc2 = Bicomplex(0.0000000000, 0.0000000000, 0.0000000000, 4.0000000000)\n",
|
|
27
|
+
"✅ Test passed!\n",
|
|
28
|
+
"\n",
|
|
29
|
+
"=== BicomplexNumber Norm Test ===\n",
|
|
30
|
+
"bc = Bicomplex(3, 4, 5, 12)\n",
|
|
31
|
+
"|z1| = sqrt(3²+4²) = 5\n",
|
|
32
|
+
"|z2| = sqrt(5²+12²) = 13\n",
|
|
33
|
+
"norm = sqrt(5² + 13²) = sqrt(194) ≈ 13.9283882772\n",
|
|
34
|
+
"✅ Test passed!\n",
|
|
35
|
+
"\n",
|
|
36
|
+
"=== BicomplexNumber Subtraction Test ===\n",
|
|
37
|
+
"bc1 = Bicomplex(1, 2, 3, 4)\n",
|
|
38
|
+
"bc2 = Bicomplex(5, 6, 7, 8)\n",
|
|
39
|
+
"result = bc1 - bc2 = Bicomplex(-4.0, -4.0, -4.0, -4.0)\n",
|
|
40
|
+
"✅ Test passed!\n",
|
|
41
|
+
"\n",
|
|
42
|
+
"=== NeutrosophicNumber Addition Test ===\n",
|
|
43
|
+
"n1 = Neutrosophic(1.5, 2.5)\n",
|
|
44
|
+
"n2 = Neutrosophic(3.0, 4.0)\n",
|
|
45
|
+
"result = n1 + n2 = Neutrosophic(4.5, 6.5)\n",
|
|
46
|
+
"✅ Test passed!\n",
|
|
47
|
+
"\n",
|
|
48
|
+
"=== NeutrosophicNumber Multiplication Test ===\n",
|
|
49
|
+
"n1 = Neutrosophic(2, 3)\n",
|
|
50
|
+
"n2 = Neutrosophic(4, 5)\n",
|
|
51
|
+
"result = n1 * n2 = Neutrosophic(8.0, 37.0)\n",
|
|
52
|
+
"Hesaplama: (2+3I)(4+5I) = 8 + (10+12+15)I = 8 + 37I\n",
|
|
53
|
+
"✅ Test passed!\n",
|
|
54
|
+
"\n",
|
|
55
|
+
"=== Hypercomplex Complex Addition Test ===\n",
|
|
56
|
+
"c1 = Complex(3, 4)\n",
|
|
57
|
+
"c2 = Complex(1, 2)\n",
|
|
58
|
+
"result = c1 + c2 = Complex(4.0, 6.0)\n",
|
|
59
|
+
"✅ Test passed!\n",
|
|
60
|
+
"\n",
|
|
61
|
+
"=== Hypercomplex Complex Multiplication Test ===\n",
|
|
62
|
+
"c1 = Complex(3, 4)\n",
|
|
63
|
+
"c2 = Complex(1, 2)\n",
|
|
64
|
+
"result = c1 * c2 = Complex(-5.0, 10.0)\n",
|
|
65
|
+
"(3+4i)(1+2i) = 3-8 + (6+4)i = -5 + 10i\n",
|
|
66
|
+
"✅ Test passed!\n",
|
|
67
|
+
"\n",
|
|
68
|
+
"=== Hypercomplex Quaternion Multiplication Test ===\n",
|
|
69
|
+
"q1 = Quaternion(1, 2, 3, 4)\n",
|
|
70
|
+
"q2 = Quaternion(5, 6, 7, 8)\n",
|
|
71
|
+
"result = q1 * q2 = Quaternion(-60.0, 12.0, 30.0, 24.0)\n",
|
|
72
|
+
"Quaternion çarpımı:\n",
|
|
73
|
+
" w = 1*5 - 2*6 - 3*7 - 4*8 = -60\n",
|
|
74
|
+
" x = 1*6 + 2*5 + 3*8 - 4*7 = 12\n",
|
|
75
|
+
" y = 1*7 - 2*8 + 3*5 + 4*6 = 30\n",
|
|
76
|
+
" z = 1*8 + 2*7 - 3*6 + 4*5 = 24\n",
|
|
77
|
+
"✅ Test passed!\n",
|
|
78
|
+
"\n",
|
|
79
|
+
"=== Hypercomplex Real Addition Test ===\n",
|
|
80
|
+
"r1 = Real(3.14)\n",
|
|
81
|
+
"r2 = Real(2.71)\n",
|
|
82
|
+
"result = r1 + r2 = Real(5.85)\n",
|
|
83
|
+
"✅ Test passed!\n",
|
|
84
|
+
"\n",
|
|
85
|
+
"=== Binet Formula Test ===\n",
|
|
86
|
+
"F(0) = 0.0000000000 (beklenen: 0)\n",
|
|
87
|
+
"F(1) = 1.0000000000 (beklenen: 1)\n",
|
|
88
|
+
"F(2) = 1.0000000000 (beklenen: 1)\n",
|
|
89
|
+
"F(3) = 2.0000000000 (beklenen: 2)\n",
|
|
90
|
+
"F(4) = 3.0000000000 (beklenen: 3)\n",
|
|
91
|
+
"F(5) = 5.0000000000 (beklenen: 5)\n",
|
|
92
|
+
"F(10) = 55.0000000000 (beklenen: 55)\n",
|
|
93
|
+
"✅ Test passed!\n",
|
|
94
|
+
"\n",
|
|
95
|
+
"=== CD Chain Names Test ===\n",
|
|
96
|
+
"generate_cd_chain_names(4) = ['Real', 'Complex', 'Quaternion', 'Octonion', 'Sedenion']\n",
|
|
97
|
+
"generate_cd_chain_names(2) = ['Real', 'Complex', 'Quaternion']\n",
|
|
98
|
+
"✅ Test passed!\n",
|
|
99
|
+
"\n",
|
|
100
|
+
"=== Harmonic Numbers Test ===\n",
|
|
101
|
+
"harmonic_numbers(3) = ['1', '3/2', '11/6']\n",
|
|
102
|
+
"Beklenen = ['1', '3/2', '11/6']\n",
|
|
103
|
+
"✅ Test passed!\n",
|
|
104
|
+
"\n",
|
|
105
|
+
"=== Oresme Sequence Test ===\n",
|
|
106
|
+
"oresme_sequence(3) = [0.5, 0.5, 0.375]\n",
|
|
107
|
+
"Beklenen = [0.5, 0.5, 0.375]\n",
|
|
108
|
+
"Ek testler:\n",
|
|
109
|
+
"oresme_sequence(0) = [] (beklenen: [])\n",
|
|
110
|
+
"oresme_sequence(1) = [0.5] (beklenen: [0.5])\n",
|
|
111
|
+
"✅ Test passed!\n",
|
|
112
|
+
"Complex(3,4) → [3.0, 4.0]\n",
|
|
113
|
+
"Octonion → dimension=8\n",
|
|
114
|
+
"✅ All factory tests passed!\n",
|
|
115
|
+
"Quaternion(1,2,3,4) → dimension=4\n",
|
|
116
|
+
"\n",
|
|
117
|
+
"=== Factory Tests (Summary) ===\n",
|
|
118
|
+
"Real(3.14) → dimension=1, value=3.14\n",
|
|
119
|
+
"\n",
|
|
120
|
+
"=== Hypercomplex to Complex Conversion ===\n",
|
|
121
|
+
"c = Complex(3, 4)\n",
|
|
122
|
+
"c.to_complex() = (3+4j)\n",
|
|
123
|
+
"✅ Test passed!\n",
|
|
124
|
+
"=== Mixed Operations Test ===\n",
|
|
125
|
+
"r = Real(5.0)\n",
|
|
126
|
+
"c = Complex(3, 4)\n",
|
|
127
|
+
"r * c = [15.0, 20.0]\n",
|
|
128
|
+
"c * r = [15.0, 20.0]\n",
|
|
129
|
+
"✅ Test passed!\n",
|
|
130
|
+
"=== Real to Float Conversion ===\n",
|
|
131
|
+
"r = Real(3.14)\n",
|
|
132
|
+
"float(r) = 3.14\n",
|
|
133
|
+
"✅ Test passed!\n",
|
|
134
|
+
"\n",
|
|
135
|
+
"🎉 ✅ ALL TESTS PASSED SUCCESSFULLY! 🎉\n"
|
|
136
|
+
]
|
|
137
|
+
}
|
|
138
|
+
],
|
|
139
|
+
"source": [
|
|
140
|
+
"import pytest\n",
|
|
141
|
+
"import math\n",
|
|
142
|
+
"from fractions import Fraction\n",
|
|
143
|
+
"from adnus import *\n",
|
|
144
|
+
"\n",
|
|
145
|
+
"class TestBicomplexNumber:\n",
|
|
146
|
+
" def test_addition(self):\n",
|
|
147
|
+
" print(\"\\n=== BicomplexNumber Addition Test ===\")\n",
|
|
148
|
+
" bc1 = Bicomplex(1, 2, 3, 4) # (1+2j) + (3+4j)·j\n",
|
|
149
|
+
" bc2 = Bicomplex(5, 6, 7, 8) # (5+6j) + (7+8j)·j\n",
|
|
150
|
+
" print(f\"bc1 = Bicomplex({bc1.z1[0]}, {bc1.z1[1]}, {bc1.z2[0]}, {bc1.z2[1]})\")\n",
|
|
151
|
+
" print(f\"bc2 = Bicomplex({bc2.z1[0]}, {bc2.z1[1]}, {bc2.z2[0]}, {bc2.z2[1]})\")\n",
|
|
152
|
+
" \n",
|
|
153
|
+
" result = bc1 + bc2\n",
|
|
154
|
+
" print(f\"result = bc1 + bc2 = Bicomplex({result.z1[0]:.1f}, {result.z1[1]:.1f}, {result.z2[0]:.1f}, {result.z2[1]:.1f})\")\n",
|
|
155
|
+
" \n",
|
|
156
|
+
" # Beklenen: (6+8j) + (10+12j)·j\n",
|
|
157
|
+
" assert isinstance(result, BicomplexNumber)\n",
|
|
158
|
+
" assert math.isclose(result.z1[0], 6.0) # real part of z1\n",
|
|
159
|
+
" assert math.isclose(result.z1[1], 8.0) # imag part of z1\n",
|
|
160
|
+
" assert math.isclose(result.z2[0], 10.0) # real part of z2\n",
|
|
161
|
+
" assert math.isclose(result.z2[1], 12.0) # imag part of z2\n",
|
|
162
|
+
" print(\"✅ Test passed!\")\n",
|
|
163
|
+
"\n",
|
|
164
|
+
" def test_subtraction(self):\n",
|
|
165
|
+
" print(\"\\n=== BicomplexNumber Subtraction Test ===\")\n",
|
|
166
|
+
" bc1 = Bicomplex(1, 2, 3, 4)\n",
|
|
167
|
+
" bc2 = Bicomplex(5, 6, 7, 8)\n",
|
|
168
|
+
" print(f\"bc1 = Bicomplex({bc1.z1[0]}, {bc1.z1[1]}, {bc1.z2[0]}, {bc1.z2[1]})\")\n",
|
|
169
|
+
" print(f\"bc2 = Bicomplex({bc2.z1[0]}, {bc2.z1[1]}, {bc2.z2[0]}, {bc2.z2[1]})\")\n",
|
|
170
|
+
" \n",
|
|
171
|
+
" result = bc1 - bc2\n",
|
|
172
|
+
" print(f\"result = bc1 - bc2 = Bicomplex({result.z1[0]:.1f}, {result.z1[1]:.1f}, {result.z2[0]:.1f}, {result.z2[1]:.1f})\")\n",
|
|
173
|
+
" \n",
|
|
174
|
+
" # Beklenen: (-4-4j) + (-4-4j)·j\n",
|
|
175
|
+
" assert math.isclose(result.z1[0], -4.0)\n",
|
|
176
|
+
" assert math.isclose(result.z1[1], -4.0)\n",
|
|
177
|
+
" assert math.isclose(result.z2[0], -4.0)\n",
|
|
178
|
+
" assert math.isclose(result.z2[1], -4.0)\n",
|
|
179
|
+
" print(\"✅ Test passed!\")\n",
|
|
180
|
+
"\n",
|
|
181
|
+
" def test_multiplication(self):\n",
|
|
182
|
+
" print(\"\\n=== BicomplexNumber Multiplication Test ===\")\n",
|
|
183
|
+
" bc1 = Bicomplex(1, 1, 1, 1) # (1+1j) + (1+1j)·j\n",
|
|
184
|
+
" bc2 = Bicomplex(1, 1, 1, 1)\n",
|
|
185
|
+
" print(f\"bc1 = Bicomplex({bc1.z1[0]}, {bc1.z1[1]}, {bc1.z2[0]}, {bc1.z2[1]})\")\n",
|
|
186
|
+
" print(f\"bc2 = Bicomplex({bc2.z1[0]}, {bc2.z1[1]}, {bc2.z2[0]}, {bc2.z2[1]})\")\n",
|
|
187
|
+
" \n",
|
|
188
|
+
" result = bc1 * bc2\n",
|
|
189
|
+
" print(f\"result = bc1 * bc2 = Bicomplex({result.z1[0]:.10f}, {result.z1[1]:.10f}, {result.z2[0]:.10f}, {result.z2[1]:.10f})\")\n",
|
|
190
|
+
" \n",
|
|
191
|
+
" # z1 = (1+i)*(1+i) - (1+i)*(1+i) = 2i - 2i = 0\n",
|
|
192
|
+
" # z2 = (1+i)*(1+i) + (1+i)*(1+i) = 2i + 2i = 4i\n",
|
|
193
|
+
" assert math.isclose(result.z1[0], 0.0, abs_tol=1e-10)\n",
|
|
194
|
+
" assert math.isclose(result.z1[1], 0.0, abs_tol=1e-10)\n",
|
|
195
|
+
" assert math.isclose(result.z2[0], 0.0, abs_tol=1e-10)\n",
|
|
196
|
+
" assert math.isclose(result.z2[1], 4.0, abs_tol=1e-10)\n",
|
|
197
|
+
" print(\"✅ Test passed!\")\n",
|
|
198
|
+
"\n",
|
|
199
|
+
" def test_norm(self):\n",
|
|
200
|
+
" print(\"\\n=== BicomplexNumber Norm Test ===\")\n",
|
|
201
|
+
" bc = Bicomplex(3, 4, 5, 12) # (3+4j) + (5+12j)·j\n",
|
|
202
|
+
" print(f\"bc = Bicomplex({bc.z1[0]}, {bc.z1[1]}, {bc.z2[0]}, {bc.z2[1]})\")\n",
|
|
203
|
+
" \n",
|
|
204
|
+
" result = bc.norm()\n",
|
|
205
|
+
" expected_norm = math.sqrt(5**2 + 13**2) # sqrt(194)\n",
|
|
206
|
+
" print(f\"|z1| = sqrt({bc.z1[0]}²+{bc.z1[1]}²) = 5\")\n",
|
|
207
|
+
" print(f\"|z2| = sqrt({bc.z2[0]}²+{bc.z2[1]}²) = 13\")\n",
|
|
208
|
+
" print(f\"norm = sqrt(5² + 13²) = sqrt(194) ≈ {result:.10f}\")\n",
|
|
209
|
+
" \n",
|
|
210
|
+
" assert math.isclose(result, expected_norm, rel_tol=1e-10)\n",
|
|
211
|
+
" print(\"✅ Test passed!\")\n",
|
|
212
|
+
"\n",
|
|
213
|
+
"class TestNeutrosophicNumber:\n",
|
|
214
|
+
" def test_addition(self):\n",
|
|
215
|
+
" print(\"\\n=== NeutrosophicNumber Addition Test ===\")\n",
|
|
216
|
+
" n1 = Neutrosophic(1.5, 2.5)\n",
|
|
217
|
+
" n2 = Neutrosophic(3.0, 4.0)\n",
|
|
218
|
+
" print(f\"n1 = Neutrosophic({n1.determinate}, {n1.indeterminate})\")\n",
|
|
219
|
+
" print(f\"n2 = Neutrosophic({n2.determinate}, {n2.indeterminate})\")\n",
|
|
220
|
+
" \n",
|
|
221
|
+
" result = n1 + n2\n",
|
|
222
|
+
" print(f\"result = n1 + n2 = Neutrosophic({result.determinate:.1f}, {result.indeterminate:.1f})\")\n",
|
|
223
|
+
" \n",
|
|
224
|
+
" assert isinstance(result, NeutrosophicNumber)\n",
|
|
225
|
+
" assert math.isclose(result.determinate, 4.5)\n",
|
|
226
|
+
" assert math.isclose(result.indeterminate, 6.5)\n",
|
|
227
|
+
" print(\"✅ Test passed!\")\n",
|
|
228
|
+
"\n",
|
|
229
|
+
" def test_multiplication(self):\n",
|
|
230
|
+
" print(\"\\n=== NeutrosophicNumber Multiplication Test ===\")\n",
|
|
231
|
+
" n1 = Neutrosophic(2, 3)\n",
|
|
232
|
+
" n2 = Neutrosophic(4, 5)\n",
|
|
233
|
+
" print(f\"n1 = Neutrosophic({n1.determinate}, {n1.indeterminate})\")\n",
|
|
234
|
+
" print(f\"n2 = Neutrosophic({n2.determinate}, {n2.indeterminate})\")\n",
|
|
235
|
+
" \n",
|
|
236
|
+
" result = n1 * n2\n",
|
|
237
|
+
" print(f\"result = n1 * n2 = Neutrosophic({result.determinate:.1f}, {result.indeterminate:.1f})\")\n",
|
|
238
|
+
" print(\"Hesaplama: (2+3I)(4+5I) = 8 + (10+12+15)I = 8 + 37I\")\n",
|
|
239
|
+
" \n",
|
|
240
|
+
" assert math.isclose(result.determinate, 8.0)\n",
|
|
241
|
+
" assert math.isclose(result.indeterminate, 37.0)\n",
|
|
242
|
+
" print(\"✅ Test passed!\")\n",
|
|
243
|
+
"\n",
|
|
244
|
+
"class TestHypercomplexNumber:\n",
|
|
245
|
+
" def test_real_addition(self):\n",
|
|
246
|
+
" print(\"\\n=== Hypercomplex Real Addition Test ===\")\n",
|
|
247
|
+
" r1 = Real(3.14)\n",
|
|
248
|
+
" r2 = Real(2.71)\n",
|
|
249
|
+
" print(f\"r1 = Real({float(r1):.2f})\")\n",
|
|
250
|
+
" print(f\"r2 = Real({float(r2):.2f})\")\n",
|
|
251
|
+
" \n",
|
|
252
|
+
" result = r1 + r2\n",
|
|
253
|
+
" print(f\"result = r1 + r2 = Real({float(result):.2f})\")\n",
|
|
254
|
+
" \n",
|
|
255
|
+
" assert isinstance(result, HypercomplexNumber)\n",
|
|
256
|
+
" assert math.isclose(float(result), 5.85)\n",
|
|
257
|
+
" assert result.dimension == 1\n",
|
|
258
|
+
" print(\"✅ Test passed!\")\n",
|
|
259
|
+
"\n",
|
|
260
|
+
" def test_complex_addition(self):\n",
|
|
261
|
+
" print(\"\\n=== Hypercomplex Complex Addition Test ===\")\n",
|
|
262
|
+
" c1 = Complex(3, 4)\n",
|
|
263
|
+
" c2 = Complex(1, 2)\n",
|
|
264
|
+
" print(f\"c1 = Complex({c1[0]}, {c1[1]})\")\n",
|
|
265
|
+
" print(f\"c2 = Complex({c2[0]}, {c2[1]})\")\n",
|
|
266
|
+
" \n",
|
|
267
|
+
" result = c1 + c2\n",
|
|
268
|
+
" print(f\"result = c1 + c2 = Complex({result[0]:.1f}, {result[1]:.1f})\")\n",
|
|
269
|
+
" \n",
|
|
270
|
+
" assert isinstance(result, HypercomplexNumber)\n",
|
|
271
|
+
" assert result.dimension == 2\n",
|
|
272
|
+
" assert math.isclose(result[0], 4.0)\n",
|
|
273
|
+
" assert math.isclose(result[1], 6.0)\n",
|
|
274
|
+
" print(\"✅ Test passed!\")\n",
|
|
275
|
+
"\n",
|
|
276
|
+
" def test_complex_multiplication(self):\n",
|
|
277
|
+
" print(\"\\n=== Hypercomplex Complex Multiplication Test ===\")\n",
|
|
278
|
+
" c1 = Complex(3, 4)\n",
|
|
279
|
+
" c2 = Complex(1, 2)\n",
|
|
280
|
+
" print(f\"c1 = Complex({c1[0]}, {c1[1]})\")\n",
|
|
281
|
+
" print(f\"c2 = Complex({c2[0]}, {c2[1]})\")\n",
|
|
282
|
+
" \n",
|
|
283
|
+
" result = c1 * c2\n",
|
|
284
|
+
" print(f\"result = c1 * c2 = Complex({result[0]:.1f}, {result[1]:.1f})\")\n",
|
|
285
|
+
" print(\"(3+4i)(1+2i) = 3-8 + (6+4)i = -5 + 10i\")\n",
|
|
286
|
+
" \n",
|
|
287
|
+
" assert math.isclose(result[0], -5.0)\n",
|
|
288
|
+
" assert math.isclose(result[1], 10.0)\n",
|
|
289
|
+
" print(\"✅ Test passed!\")\n",
|
|
290
|
+
"\n",
|
|
291
|
+
" def test_quaternion_multiplication(self):\n",
|
|
292
|
+
" print(\"\\n=== Hypercomplex Quaternion Multiplication Test ===\")\n",
|
|
293
|
+
" q1 = Quaternion(1, 2, 3, 4)\n",
|
|
294
|
+
" q2 = Quaternion(5, 6, 7, 8)\n",
|
|
295
|
+
" print(f\"q1 = Quaternion({q1[0]}, {q1[1]}, {q1[2]}, {q1[3]})\")\n",
|
|
296
|
+
" print(f\"q2 = Quaternion({q2[0]}, {q2[1]}, {q2[2]}, {q2[3]})\")\n",
|
|
297
|
+
" \n",
|
|
298
|
+
" result = q1 * q2\n",
|
|
299
|
+
" print(f\"result = q1 * q2 = Quaternion({result[0]:.1f}, {result[1]:.1f}, {result[2]:.1f}, {result[3]:.1f})\")\n",
|
|
300
|
+
" print(\"Quaternion çarpımı:\")\n",
|
|
301
|
+
" print(f\" w = {1}*{5} - {2}*{6} - {3}*{7} - {4}*{8} = -60\")\n",
|
|
302
|
+
" print(f\" x = {1}*{6} + {2}*{5} + {3}*{8} - {4}*{7} = 12\")\n",
|
|
303
|
+
" print(f\" y = {1}*{7} - {2}*{8} + {3}*{5} + {4}*{6} = 30\")\n",
|
|
304
|
+
" print(f\" z = {1}*{8} + {2}*{7} - {3}*{6} + {4}*{5} = 24\")\n",
|
|
305
|
+
" \n",
|
|
306
|
+
" assert math.isclose(result[0], -60.0, rel_tol=1e-10)\n",
|
|
307
|
+
" assert math.isclose(result[1], 12.0, rel_tol=1e-10)\n",
|
|
308
|
+
" assert math.isclose(result[2], 30.0, rel_tol=1e-10)\n",
|
|
309
|
+
" assert math.isclose(result[3], 24.0, rel_tol=1e-10)\n",
|
|
310
|
+
" print(\"✅ Test passed!\")\n",
|
|
311
|
+
"\n",
|
|
312
|
+
"class TestHelperFunctions:\n",
|
|
313
|
+
" def test_oresme_sequence(self):\n",
|
|
314
|
+
" print(\"\\n=== Oresme Sequence Test ===\")\n",
|
|
315
|
+
" result = oresme_sequence(3)\n",
|
|
316
|
+
" expected = [1/2, 2/4, 3/8]\n",
|
|
317
|
+
" print(f\"oresme_sequence(3) = {result}\")\n",
|
|
318
|
+
" print(f\"Beklenen = {expected}\")\n",
|
|
319
|
+
" \n",
|
|
320
|
+
" assert len(result) == 3\n",
|
|
321
|
+
" for r, e in zip(result, expected):\n",
|
|
322
|
+
" assert math.isclose(r, e)\n",
|
|
323
|
+
" \n",
|
|
324
|
+
" print(\"Ek testler:\")\n",
|
|
325
|
+
" print(f\"oresme_sequence(0) = {oresme_sequence(0)} (beklenen: [])\")\n",
|
|
326
|
+
" print(f\"oresme_sequence(1) = {oresme_sequence(1)} (beklenen: [0.5])\")\n",
|
|
327
|
+
" print(\"✅ Test passed!\")\n",
|
|
328
|
+
"\n",
|
|
329
|
+
" def test_harmonic_numbers(self):\n",
|
|
330
|
+
" print(\"\\n=== Harmonic Numbers Test ===\")\n",
|
|
331
|
+
" harmonics = list(harmonic_numbers(3))\n",
|
|
332
|
+
" expected = [Fraction(1, 1), Fraction(3, 2), Fraction(11, 6)]\n",
|
|
333
|
+
" print(f\"harmonic_numbers(3) = {[str(h) for h in harmonics]}\")\n",
|
|
334
|
+
" print(f\"Beklenen = {[str(e) for e in expected]}\")\n",
|
|
335
|
+
" \n",
|
|
336
|
+
" assert len(harmonics) == 3\n",
|
|
337
|
+
" for h, e in zip(harmonics, expected):\n",
|
|
338
|
+
" assert h == e\n",
|
|
339
|
+
" print(\"✅ Test passed!\")\n",
|
|
340
|
+
"\n",
|
|
341
|
+
" def test_binet_formula(self):\n",
|
|
342
|
+
" print(\"\\n=== Binet Formula Test ===\")\n",
|
|
343
|
+
" test_cases = [\n",
|
|
344
|
+
" (0, 0), (1, 1), (2, 1), (3, 2), \n",
|
|
345
|
+
" (4, 3), (5, 5), (10, 55)\n",
|
|
346
|
+
" ]\n",
|
|
347
|
+
" \n",
|
|
348
|
+
" for n, expected in test_cases:\n",
|
|
349
|
+
" result = binet_formula(n)\n",
|
|
350
|
+
" print(f\"F({n}) = {result:.10f} (beklenen: {expected})\")\n",
|
|
351
|
+
" assert math.isclose(result, expected, rel_tol=1e-10)\n",
|
|
352
|
+
" print(\"✅ Test passed!\")\n",
|
|
353
|
+
"\n",
|
|
354
|
+
" def test_generate_cd_chain_names(self):\n",
|
|
355
|
+
" print(\"\\n=== CD Chain Names Test ===\")\n",
|
|
356
|
+
" names4 = generate_cd_chain_names(4)\n",
|
|
357
|
+
" expected4 = [\"Real\", \"Complex\", \"Quaternion\", \"Octonion\", \"Sedenion\"]\n",
|
|
358
|
+
" print(f\"generate_cd_chain_names(4) = {names4}\")\n",
|
|
359
|
+
" \n",
|
|
360
|
+
" names2 = generate_cd_chain_names(2)\n",
|
|
361
|
+
" expected2 = [\"Real\", \"Complex\", \"Quaternion\"]\n",
|
|
362
|
+
" print(f\"generate_cd_chain_names(2) = {names2}\")\n",
|
|
363
|
+
" \n",
|
|
364
|
+
" assert names4 == expected4\n",
|
|
365
|
+
" assert names2 == expected2\n",
|
|
366
|
+
" print(\"✅ Test passed!\")\n",
|
|
367
|
+
"\n",
|
|
368
|
+
"# Factory ve conversion testleri için de print eklendi (kısaltılmış)\n",
|
|
369
|
+
"class TestFactoryFunctions:\n",
|
|
370
|
+
" def test_real_factory(self):\n",
|
|
371
|
+
" print(\"\\n=== Factory Tests (Summary) ===\")\n",
|
|
372
|
+
" r = Real(3.14)\n",
|
|
373
|
+
" print(f\"Real(3.14) → dimension={r.dimension}, value={float(r):.2f}\")\n",
|
|
374
|
+
" assert isinstance(r, HypercomplexNumber)\n",
|
|
375
|
+
" assert r.dimension == 1\n",
|
|
376
|
+
" assert math.isclose(float(r), 3.14)\n",
|
|
377
|
+
"\n",
|
|
378
|
+
" def test_complex_factory(self):\n",
|
|
379
|
+
" c = Complex(3, 4)\n",
|
|
380
|
+
" print(f\"Complex(3,4) → [{c[0]:.1f}, {c[1]:.1f}]\")\n",
|
|
381
|
+
" assert c.dimension == 2\n",
|
|
382
|
+
" assert math.isclose(c[0], 3.0)\n",
|
|
383
|
+
" assert math.isclose(c[1], 4.0)\n",
|
|
384
|
+
"\n",
|
|
385
|
+
" def test_quaternion_factory(self):\n",
|
|
386
|
+
" q = Quaternion(1, 2, 3, 4)\n",
|
|
387
|
+
" print(f\"Quaternion(1,2,3,4) → dimension={q.dimension}\")\n",
|
|
388
|
+
" assert q.dimension == 4\n",
|
|
389
|
+
"\n",
|
|
390
|
+
" def test_octonion_factory(self):\n",
|
|
391
|
+
" o = Octonion(1, 2, 3, 4, 5, 6, 7, 8)\n",
|
|
392
|
+
" print(f\"Octonion → dimension={o.dimension}\")\n",
|
|
393
|
+
" assert o.dimension == 8\n",
|
|
394
|
+
" print(\"✅ All factory tests passed!\")\n",
|
|
395
|
+
"\n",
|
|
396
|
+
"class TestConversions:\n",
|
|
397
|
+
" def test_hypercomplex_to_complex(self):\n",
|
|
398
|
+
" print(\"\\n=== Hypercomplex to Complex Conversion ===\")\n",
|
|
399
|
+
" c = Complex(3, 4)\n",
|
|
400
|
+
" print(f\"c = Complex({c[0]}, {c[1]})\")\n",
|
|
401
|
+
" \n",
|
|
402
|
+
" py_complex = c.to_complex()\n",
|
|
403
|
+
" print(f\"c.to_complex() = {py_complex}\")\n",
|
|
404
|
+
" \n",
|
|
405
|
+
" assert isinstance(py_complex, complex)\n",
|
|
406
|
+
" assert math.isclose(py_complex.real, 3.0)\n",
|
|
407
|
+
" assert math.isclose(py_complex.imag, 4.0)\n",
|
|
408
|
+
" print(\"✅ Test passed!\")\n",
|
|
409
|
+
"\n",
|
|
410
|
+
" def test_real_to_float(self):\n",
|
|
411
|
+
" print(\"=== Real to Float Conversion ===\")\n",
|
|
412
|
+
" r = Real(3.14)\n",
|
|
413
|
+
" print(f\"r = Real({float(r):.2f})\")\n",
|
|
414
|
+
" result = float(r)\n",
|
|
415
|
+
" print(f\"float(r) = {result:.2f}\")\n",
|
|
416
|
+
" \n",
|
|
417
|
+
" assert math.isclose(result, 3.14)\n",
|
|
418
|
+
" print(\"✅ Test passed!\")\n",
|
|
419
|
+
"\n",
|
|
420
|
+
" def test_mixed_operations(self):\n",
|
|
421
|
+
" print(\"=== Mixed Operations Test ===\")\n",
|
|
422
|
+
" r = Real(5.0)\n",
|
|
423
|
+
" c = Complex(3, 4)\n",
|
|
424
|
+
" print(f\"r = Real(5.0)\")\n",
|
|
425
|
+
" print(f\"c = Complex(3, 4)\")\n",
|
|
426
|
+
" \n",
|
|
427
|
+
" result1 = r * c\n",
|
|
428
|
+
" print(f\"r * c = [{result1[0]:.1f}, {result1[1]:.1f}]\")\n",
|
|
429
|
+
" \n",
|
|
430
|
+
" result2 = c * r\n",
|
|
431
|
+
" print(f\"c * r = [{result2[0]:.1f}, {result2[1]:.1f}]\")\n",
|
|
432
|
+
" \n",
|
|
433
|
+
" assert isinstance(result1, HypercomplexNumber)\n",
|
|
434
|
+
" assert result1.dimension == 2\n",
|
|
435
|
+
" assert math.isclose(result1[0], 15.0)\n",
|
|
436
|
+
" assert math.isclose(result1[1], 20.0)\n",
|
|
437
|
+
" assert result1 == result2\n",
|
|
438
|
+
" print(\"✅ Test passed!\")\n",
|
|
439
|
+
"\n",
|
|
440
|
+
"\n",
|
|
441
|
+
"if __name__ == \"__main__\":\n",
|
|
442
|
+
" print(\"🚀 Running detailed adnus tests with results...\\n\")\n",
|
|
443
|
+
" \n",
|
|
444
|
+
" # Tüm test sınıflarını çalıştır\n",
|
|
445
|
+
" test_classes = [\n",
|
|
446
|
+
" TestBicomplexNumber(), TestNeutrosophicNumber(), \n",
|
|
447
|
+
" TestHypercomplexNumber(), TestHelperFunctions(),\n",
|
|
448
|
+
" TestFactoryFunctions(), TestConversions()\n",
|
|
449
|
+
" ]\n",
|
|
450
|
+
" \n",
|
|
451
|
+
" all_passed = True\n",
|
|
452
|
+
" for test_class in test_classes:\n",
|
|
453
|
+
" for method_name in dir(test_class):\n",
|
|
454
|
+
" if method_name.startswith('test_'):\n",
|
|
455
|
+
" method = getattr(test_class, method_name)\n",
|
|
456
|
+
" try:\n",
|
|
457
|
+
" method()\n",
|
|
458
|
+
" except AssertionError as e:\n",
|
|
459
|
+
" print(f\"❌ {method_name} failed: {e}\")\n",
|
|
460
|
+
" all_passed = False\n",
|
|
461
|
+
" break\n",
|
|
462
|
+
" except Exception as e:\n",
|
|
463
|
+
" print(f\"❌ {method_name} error: {e}\")\n",
|
|
464
|
+
" all_passed = False\n",
|
|
465
|
+
" break\n",
|
|
466
|
+
" \n",
|
|
467
|
+
" if all_passed:\n",
|
|
468
|
+
" print(\"\\n🎉 ✅ ALL TESTS PASSED SUCCESSFULLY! 🎉\")\n",
|
|
469
|
+
" else:\n",
|
|
470
|
+
" print(\"\\n❌ Some tests failed!\")\n"
|
|
471
|
+
]
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"cell_type": "code",
|
|
475
|
+
"execution_count": null,
|
|
476
|
+
"id": "8b7b6c65-bb9d-4cd0-82b0-2af3307fa4b4",
|
|
477
|
+
"metadata": {},
|
|
478
|
+
"outputs": [],
|
|
479
|
+
"source": []
|
|
480
|
+
}
|
|
481
|
+
],
|
|
482
|
+
"metadata": {
|
|
483
|
+
"kernelspec": {
|
|
484
|
+
"display_name": "Python 3 (ipykernel)",
|
|
485
|
+
"language": "python",
|
|
486
|
+
"name": "python3"
|
|
487
|
+
},
|
|
488
|
+
"language_info": {
|
|
489
|
+
"codemirror_mode": {
|
|
490
|
+
"name": "ipython",
|
|
491
|
+
"version": 3
|
|
492
|
+
},
|
|
493
|
+
"file_extension": ".py",
|
|
494
|
+
"mimetype": "text/x-python",
|
|
495
|
+
"name": "python",
|
|
496
|
+
"nbconvert_exporter": "python",
|
|
497
|
+
"pygments_lexer": "ipython3",
|
|
498
|
+
"version": "3.14.2"
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
"nbformat": 4,
|
|
502
|
+
"nbformat_minor": 5
|
|
503
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{% set version = "0.2.
|
|
1
|
+
{% set version = "0.2.1" %}
|
|
2
2
|
|
|
3
3
|
package:
|
|
4
4
|
name: adnus
|
|
@@ -32,7 +32,7 @@ test:
|
|
|
32
32
|
|
|
33
33
|
about:
|
|
34
34
|
home: https://github.com/WhiteSymmetry/adnus
|
|
35
|
-
license:
|
|
35
|
+
license: AGPL-3.0-or-later
|
|
36
36
|
license_file: LICENSE
|
|
37
37
|
summary: 'adnus (AdNuS): Advanced Number Systems'
|
|
38
38
|
description: |
|