mathai 2.4.0__tar.gz → 2.4.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.
- {mathai-2.4.0 → mathai-2.4.1}/PKG-INFO +1 -1
- {mathai-2.4.0 → mathai-2.4.1}/mathai/integrate.py +1 -1
- {mathai-2.4.0 → mathai-2.4.1}/mathai/limit.py +3 -2
- {mathai-2.4.0 → mathai-2.4.1}/mathai/qm.py +3 -3
- {mathai-2.4.0 → mathai-2.4.1}/mathai.egg-info/PKG-INFO +1 -1
- {mathai-2.4.0 → mathai-2.4.1}/setup.py +1 -1
- {mathai-2.4.0 → mathai-2.4.1}/README.md +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/__init__.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/apart.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/base.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/benchmark.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/decision.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/diff.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/electronic.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/expand.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/factor.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/formula_applier.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/formula_compiler.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/fraction.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/graphics.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/inverse.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/lambda_calculus.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/linear.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/logic.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/matrix.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/ml.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/mlscalar.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/ncert_data.txt +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/ode.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/parser.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/pde.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/printeq.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/simplify.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/statistics.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/test.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/tool.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/trig.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai/univariate_inequality.py +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai.egg-info/SOURCES.txt +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai.egg-info/dependency_links.txt +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/mathai.egg-info/top_level.txt +0 -0
- {mathai-2.4.0 → mathai-2.4.1}/setup.cfg +0 -0
|
@@ -8,7 +8,7 @@ from .fraction import fraction
|
|
|
8
8
|
from .simplify import simplify
|
|
9
9
|
from .expand import expand
|
|
10
10
|
from .base import *
|
|
11
|
-
from .formula_compiler import formula_list_compiler
|
|
11
|
+
from .formula_compiler import formula_list_compiler
|
|
12
12
|
from .inverse import inverse
|
|
13
13
|
from .tool import poly
|
|
14
14
|
from fractions import Fraction
|
|
@@ -159,14 +159,15 @@ def is_negative(eq):
|
|
|
159
159
|
return True
|
|
160
160
|
return False
|
|
161
161
|
limit3_s = """limitpinf(product(a,b),x) a*limitpinf(b,x) [] x a _ _
|
|
162
|
-
limitpinf(x^c*e^(poly(x,d,f)),x) 0 [] x [d,f] _ _
|
|
162
|
+
limitpinf(x^c*e^(poly(x,d,f)),x) 0 [] x [d,f,c] _ _
|
|
163
163
|
limitpinf(x*e^(poly(x,d,f)),x) 0 [] x [d,f] _ _
|
|
164
164
|
limitpinf(e^(poly(x,d,f)),x) 0 [] x [d,f] _ _
|
|
165
|
-
limitpinf(x^c,x) 0 [] x
|
|
165
|
+
limitpinf(x^c,x) 0 [] x c _ _
|
|
166
166
|
limitpinf(sum(a,b),x) limitpinf(a,x)+limitpinf(b,x) [] x _ _ _
|
|
167
167
|
limitpinf(a,x) a [] x a _ _"""
|
|
168
168
|
|
|
169
169
|
limit3 = formula_list_compiler(limit3_s)
|
|
170
|
+
|
|
170
171
|
def solve_inf(eq):
|
|
171
172
|
stack = [(eq, False)]
|
|
172
173
|
result = {}
|
|
@@ -18,7 +18,7 @@ from .integrate import integrate_formula, integrate_full
|
|
|
18
18
|
from .integrate import normalize as integration_basic
|
|
19
19
|
|
|
20
20
|
from .diff import diff
|
|
21
|
-
from .
|
|
21
|
+
from .formula_compiler import formula_list_compiler
|
|
22
22
|
|
|
23
23
|
def helium_gse():
|
|
24
24
|
basic_int = lambda x: dowhile(x, lambda y: expand(simplify(integrate_formula(y))))
|
|
@@ -155,7 +155,7 @@ def helium_gse():
|
|
|
155
155
|
return compute(simplify(H/e1))
|
|
156
156
|
|
|
157
157
|
power_rule_s = "a^sum(b,c) a^b*a^c [] x _ _ _"
|
|
158
|
-
power_rule =
|
|
158
|
+
power_rule = formula_list_compiler(power_rule_s)
|
|
159
159
|
|
|
160
160
|
def hydrogen_gse():
|
|
161
161
|
basic_int = lambda x: dowhile(x, lambda y: integrate_formula(simplify(expand(simplify(power_rule(y))))))
|
|
@@ -186,7 +186,7 @@ def hydrogen_gse():
|
|
|
186
186
|
integral_psiHpsi = TreeNode("f_integrate", [psiHpsi * parse("4")* pi * r**2, r])
|
|
187
187
|
integral_psiHpsi = basic_int(integral_psiHpsi)
|
|
188
188
|
a = limit1(TreeNode("f_limit", [integral_psiHpsi, r]))
|
|
189
|
-
b = limit3(
|
|
189
|
+
b = limit3(simplify(expand(TreeNode("f_limitpinf", [integral_psiHpsi, r]))))
|
|
190
190
|
integral_psiHpsi = algebra(b-a)
|
|
191
191
|
result = integral_psiHpsi / integral_psi2
|
|
192
192
|
return compute(simplify(result /e1))
|
|
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
|
|
|
3
3
|
|
|
4
4
|
setup(
|
|
5
5
|
name="mathai",
|
|
6
|
-
version="2.4.
|
|
6
|
+
version="2.4.1",
|
|
7
7
|
description="Mathematics solving Ai tailored to NCERT",
|
|
8
8
|
long_description=Path("README.md").read_text(encoding="utf-8"),
|
|
9
9
|
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
|
|
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
|