hypercomplex-engine 1.0.4__tar.gz → 1.0.4.2__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.
Files changed (36) hide show
  1. {hypercomplex_engine-1.0.4/hypercomplex_engine.egg-info → hypercomplex_engine-1.0.4.2}/PKG-INFO +3 -3
  2. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/README.md +1 -1
  3. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/fast/fast_split.py +3 -5
  4. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/table_builder/split.py +2 -1
  5. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2/hypercomplex_engine.egg-info}/PKG-INFO +3 -3
  6. hypercomplex_engine-1.0.4.2/hypercomplex_engine.egg-info/requires.txt +1 -0
  7. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/pyproject.toml +2 -2
  8. hypercomplex_engine-1.0.4/hypercomplex_engine.egg-info/requires.txt +0 -1
  9. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/LICENSE +0 -0
  10. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/hypercomplex/__init__.py +0 -0
  11. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/__init__.py +0 -0
  12. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/basis_element.py +0 -0
  13. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/basis_notation.py +0 -0
  14. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/fast/__init__.py +0 -0
  15. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/fast/bit_utils.py +0 -0
  16. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/fast/fast_dual.py +0 -0
  17. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/fast/fast_standard.py +0 -0
  18. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/holographic/__init__.py +0 -0
  19. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/holographic/dual.py +0 -0
  20. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/holographic/split.py +0 -0
  21. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/holographic/standard.py +0 -0
  22. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/table_builder/__init__.py +0 -0
  23. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/table_builder/common.py +0 -0
  24. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/table_builder/dual.py +0 -0
  25. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/table_builder/standard.py +0 -0
  26. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/validation.py +0 -0
  27. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/hypercomplex/facade.py +0 -0
  28. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/hypercomplex/printer/__init__.py +0 -0
  29. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/hypercomplex/printer/cd_format.py +0 -0
  30. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/hypercomplex/printer/cd_table_printer.py +0 -0
  31. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/hypercomplex_engine.egg-info/SOURCES.txt +0 -0
  32. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/hypercomplex_engine.egg-info/dependency_links.txt +0 -0
  33. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/hypercomplex_engine.egg-info/top_level.txt +0 -0
  34. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/setup.cfg +0 -0
  35. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/tests/test_fast_mode.py +0 -0
  36. {hypercomplex_engine-1.0.4 → hypercomplex_engine-1.0.4.2}/tests/test_mega_mother.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hypercomplex-engine
3
- Version: 1.0.4
3
+ Version: 1.0.4.2
4
4
  Summary: Fast O(1)/O(n) multiplication engine and table generator for ordinary, split, and dual Cayley-Dickson algebras.
5
5
  Author-email: Maher Ben Abdessalem <ba.maher94@gmail.com>
6
6
  License: MIT License
@@ -43,13 +43,13 @@ Classifier: Operating System :: OS Independent
43
43
  Requires-Python: >=3.10
44
44
  Description-Content-Type: text/markdown
45
45
  License-File: LICENSE
46
- Requires-Dist: numpy>=1.20.0
46
+ Requires-Dist: numpy>=1.22.0
47
47
  Dynamic: license-file
48
48
 
49
49
  # hypercomplex-engine
50
50
 
51
51
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
52
- [![Python 3.10+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
52
+ [![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
53
53
  [![Tests](https://img.shields.io/badge/tests-62%20passed-success)](#)
54
54
  [![GitHub Repo](https://img.shields.io/badge/GitHub-maher1719%2Fhypercomplex--engine-black?logo=github)](https://github.com/maher1719/hypercomplex-engine)
55
55
  [![PyPI version](https://badge.fury.io/py/hypercomplex-engine.svg)](https://pypi.org/project/hypercomplex-engine/)
@@ -1,7 +1,7 @@
1
1
  # hypercomplex-engine
2
2
 
3
3
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4
- [![Python 3.10+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
4
+ [![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
5
5
  [![Tests](https://img.shields.io/badge/tests-62%20passed-success)](#)
6
6
  [![GitHub Repo](https://img.shields.io/badge/GitHub-maher1719%2Fhypercomplex--engine-black?logo=github)](https://github.com/maher1719/hypercomplex-engine)
7
7
  [![PyPI version](https://badge.fury.io/py/hypercomplex-engine.svg)](https://pypi.org/project/hypercomplex-engine/)
@@ -23,7 +23,7 @@ class FastSplit:
23
23
  def __init__(self):
24
24
  self._standard = FastStandard()
25
25
 
26
- def multiply(self, t1: tuple, t2: tuple, dim: int | None = None) -> tuple:
26
+ def multiply(self, t1: tuple, t2: tuple, dim: int) -> tuple:
27
27
  """
28
28
  Multiply two split basis element tuples.
29
29
 
@@ -46,10 +46,8 @@ class FastSplit:
46
46
  if s1 == 0 or s2 == 0:
47
47
  return (0, 0)
48
48
 
49
- if dim is None:
50
- dim = max(i, j).bit_length()
51
- else:
52
- dim = Validation.dimension(dim)
49
+
50
+ dim = Validation.dimension(dim)
53
51
 
54
52
  Validation.index_in_range(i, dim)
55
53
  Validation.index_in_range(j, dim)
@@ -98,4 +98,5 @@ class SplitTableBuilder:
98
98
  signs[half:, half:] = block_d
99
99
  indices[half:, half:] = parent_indices.T
100
100
 
101
- return signs, indices
101
+ return signs, indices
102
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hypercomplex-engine
3
- Version: 1.0.4
3
+ Version: 1.0.4.2
4
4
  Summary: Fast O(1)/O(n) multiplication engine and table generator for ordinary, split, and dual Cayley-Dickson algebras.
5
5
  Author-email: Maher Ben Abdessalem <ba.maher94@gmail.com>
6
6
  License: MIT License
@@ -43,13 +43,13 @@ Classifier: Operating System :: OS Independent
43
43
  Requires-Python: >=3.10
44
44
  Description-Content-Type: text/markdown
45
45
  License-File: LICENSE
46
- Requires-Dist: numpy>=1.20.0
46
+ Requires-Dist: numpy>=1.22.0
47
47
  Dynamic: license-file
48
48
 
49
49
  # hypercomplex-engine
50
50
 
51
51
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
52
- [![Python 3.10+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
52
+ [![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
53
53
  [![Tests](https://img.shields.io/badge/tests-62%20passed-success)](#)
54
54
  [![GitHub Repo](https://img.shields.io/badge/GitHub-maher1719%2Fhypercomplex--engine-black?logo=github)](https://github.com/maher1719/hypercomplex-engine)
55
55
  [![PyPI version](https://badge.fury.io/py/hypercomplex-engine.svg)](https://pypi.org/project/hypercomplex-engine/)
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "hypercomplex-engine"
7
- version = "1.0.4"
7
+ version = "1.0.4.2"
8
8
  authors = [
9
9
  { name="Maher Ben Abdessalem", email="ba.maher94@gmail.com" },
10
10
  ]
@@ -13,7 +13,7 @@ readme = "README.md"
13
13
  license = { file="LICENSE" }
14
14
  requires-python = ">=3.10"
15
15
  dependencies = [
16
- "numpy>=1.20.0"
16
+ "numpy>=1.22.0"
17
17
  ]
18
18
  keywords = [
19
19
  "hypercomplex", "cayley-dickson", "quaternions", "octonions",