hypercomplex-engine 1.0.4.1__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.1/hypercomplex_engine.egg-info → hypercomplex_engine-1.0.4.2}/PKG-INFO +2 -2
  2. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/fast/fast_split.py +3 -5
  3. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2/hypercomplex_engine.egg-info}/PKG-INFO +2 -2
  4. hypercomplex_engine-1.0.4.2/hypercomplex_engine.egg-info/requires.txt +1 -0
  5. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/pyproject.toml +2 -2
  6. hypercomplex_engine-1.0.4.1/hypercomplex_engine.egg-info/requires.txt +0 -1
  7. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/LICENSE +0 -0
  8. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/README.md +0 -0
  9. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/hypercomplex/__init__.py +0 -0
  10. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/__init__.py +0 -0
  11. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/basis_element.py +0 -0
  12. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/basis_notation.py +0 -0
  13. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/fast/__init__.py +0 -0
  14. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/fast/bit_utils.py +0 -0
  15. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/fast/fast_dual.py +0 -0
  16. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/fast/fast_standard.py +0 -0
  17. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/holographic/__init__.py +0 -0
  18. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/holographic/dual.py +0 -0
  19. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/holographic/split.py +0 -0
  20. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/holographic/standard.py +0 -0
  21. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/table_builder/__init__.py +0 -0
  22. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/table_builder/common.py +0 -0
  23. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/table_builder/dual.py +0 -0
  24. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/table_builder/split.py +0 -0
  25. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/table_builder/standard.py +0 -0
  26. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/hypercomplex/core/validation.py +0 -0
  27. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/hypercomplex/facade.py +0 -0
  28. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/hypercomplex/printer/__init__.py +0 -0
  29. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/hypercomplex/printer/cd_format.py +0 -0
  30. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/hypercomplex/printer/cd_table_printer.py +0 -0
  31. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/hypercomplex_engine.egg-info/SOURCES.txt +0 -0
  32. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/hypercomplex_engine.egg-info/dependency_links.txt +0 -0
  33. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/hypercomplex_engine.egg-info/top_level.txt +0 -0
  34. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/setup.cfg +0 -0
  35. {hypercomplex_engine-1.0.4.1 → hypercomplex_engine-1.0.4.2}/tests/test_fast_mode.py +0 -0
  36. {hypercomplex_engine-1.0.4.1 → 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.1
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,7 +43,7 @@ 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.3
46
+ Requires-Dist: numpy>=1.22.0
47
47
  Dynamic: license-file
48
48
 
49
49
  # 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)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hypercomplex-engine
3
- Version: 1.0.4.1
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,7 +43,7 @@ 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.3
46
+ Requires-Dist: numpy>=1.22.0
47
47
  Dynamic: license-file
48
48
 
49
49
  # 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.1"
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.3"
16
+ "numpy>=1.22.0"
17
17
  ]
18
18
  keywords = [
19
19
  "hypercomplex", "cayley-dickson", "quaternions", "octonions",