mathai 0.7.3__tar.gz → 0.7.4__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 (34) hide show
  1. {mathai-0.7.3 → mathai-0.7.4}/PKG-INFO +1 -1
  2. {mathai-0.7.3 → mathai-0.7.4}/mathai/expand.py +3 -6
  3. {mathai-0.7.3 → mathai-0.7.4}/mathai.egg-info/PKG-INFO +1 -1
  4. {mathai-0.7.3 → mathai-0.7.4}/setup.py +1 -1
  5. {mathai-0.7.3 → mathai-0.7.4}/README.md +0 -0
  6. {mathai-0.7.3 → mathai-0.7.4}/mathai/__init__.py +0 -0
  7. {mathai-0.7.3 → mathai-0.7.4}/mathai/apart.py +0 -0
  8. {mathai-0.7.3 → mathai-0.7.4}/mathai/base.py +0 -0
  9. {mathai-0.7.3 → mathai-0.7.4}/mathai/bivariate_inequality.py +0 -0
  10. {mathai-0.7.3 → mathai-0.7.4}/mathai/console.py +0 -0
  11. {mathai-0.7.3 → mathai-0.7.4}/mathai/diff.py +0 -0
  12. {mathai-0.7.3 → mathai-0.7.4}/mathai/factor.py +0 -0
  13. {mathai-0.7.3 → mathai-0.7.4}/mathai/fraction.py +0 -0
  14. {mathai-0.7.3 → mathai-0.7.4}/mathai/integrate.py +0 -0
  15. {mathai-0.7.3 → mathai-0.7.4}/mathai/inverse.py +0 -0
  16. {mathai-0.7.3 → mathai-0.7.4}/mathai/limit.py +0 -0
  17. {mathai-0.7.3 → mathai-0.7.4}/mathai/linear.py +0 -0
  18. {mathai-0.7.3 → mathai-0.7.4}/mathai/logic.py +0 -0
  19. {mathai-0.7.3 → mathai-0.7.4}/mathai/matrix.py +0 -0
  20. {mathai-0.7.3 → mathai-0.7.4}/mathai/ode.py +0 -0
  21. {mathai-0.7.3 → mathai-0.7.4}/mathai/parser.py +0 -0
  22. {mathai-0.7.3 → mathai-0.7.4}/mathai/parsetab.py +0 -0
  23. {mathai-0.7.3 → mathai-0.7.4}/mathai/printeq.py +0 -0
  24. {mathai-0.7.3 → mathai-0.7.4}/mathai/simplify.py +0 -0
  25. {mathai-0.7.3 → mathai-0.7.4}/mathai/statistics.py +0 -0
  26. {mathai-0.7.3 → mathai-0.7.4}/mathai/structure.py +0 -0
  27. {mathai-0.7.3 → mathai-0.7.4}/mathai/tool.py +0 -0
  28. {mathai-0.7.3 → mathai-0.7.4}/mathai/trig.py +0 -0
  29. {mathai-0.7.3 → mathai-0.7.4}/mathai/univariate_inequality.py +0 -0
  30. {mathai-0.7.3 → mathai-0.7.4}/mathai.egg-info/SOURCES.txt +0 -0
  31. {mathai-0.7.3 → mathai-0.7.4}/mathai.egg-info/dependency_links.txt +0 -0
  32. {mathai-0.7.3 → mathai-0.7.4}/mathai.egg-info/requires.txt +0 -0
  33. {mathai-0.7.3 → mathai-0.7.4}/mathai.egg-info/top_level.txt +0 -0
  34. {mathai-0.7.3 → mathai-0.7.4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mathai
3
- Version: 0.7.3
3
+ Version: 0.7.4
4
4
  Summary: Mathematics solving Ai tailored to NCERT
5
5
  Home-page: https://github.com/infinity390/mathai4
6
6
  Requires-Python: >=3.7
@@ -70,9 +70,6 @@ def expand_nc(expr, label="f_mul"):
70
70
  return TreeNode(label, factors)
71
71
 
72
72
 
73
- def expand(eq):
74
- s = str_form(eq)
75
- for item in ["f_mul", "f_wmul", "f_dot", "f_cross"]:
76
- if item in s:
77
- eq = expand_nc(eq, item)
78
- return eq
73
+ def expand(eq, over="*"):
74
+ over = {"@": "f_wmul", ".":"f_dot", "*":"f_mul"}[over]
75
+ return expand_nc(eq, over)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mathai
3
- Version: 0.7.3
3
+ Version: 0.7.4
4
4
  Summary: Mathematics solving Ai tailored to NCERT
5
5
  Home-page: https://github.com/infinity390/mathai4
6
6
  Requires-Python: >=3.7
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="mathai",
5
- version="0.7.3",
5
+ version="0.7.4",
6
6
  description="Mathematics solving Ai tailored to NCERT",
7
7
  long_description=open("README.md").read(),
8
8
  long_description_content_type="text/markdown",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes