polysolve 0.2.0__tar.gz → 0.2.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.
- {polysolve-0.2.0/src/polysolve.egg-info → polysolve-0.2.2}/PKG-INFO +4 -4
- {polysolve-0.2.0 → polysolve-0.2.2}/README.md +3 -3
- {polysolve-0.2.0 → polysolve-0.2.2}/pyproject.toml +1 -1
- {polysolve-0.2.0 → polysolve-0.2.2/src/polysolve.egg-info}/PKG-INFO +4 -4
- {polysolve-0.2.0 → polysolve-0.2.2}/LICENSE +0 -0
- {polysolve-0.2.0 → polysolve-0.2.2}/setup.cfg +0 -0
- {polysolve-0.2.0 → polysolve-0.2.2}/src/polysolve/__init__.py +0 -0
- {polysolve-0.2.0 → polysolve-0.2.2}/src/polysolve.egg-info/SOURCES.txt +0 -0
- {polysolve-0.2.0 → polysolve-0.2.2}/src/polysolve.egg-info/dependency_links.txt +0 -0
- {polysolve-0.2.0 → polysolve-0.2.2}/src/polysolve.egg-info/requires.txt +0 -0
- {polysolve-0.2.0 → polysolve-0.2.2}/src/polysolve.egg-info/top_level.txt +0 -0
- {polysolve-0.2.0 → polysolve-0.2.2}/tests/test_polysolve.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: polysolve
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: A Python library for representing, manipulating, and solving exponential functions using analytical methods and genetic algorithms, with optional CUDA acceleration.
|
|
5
5
|
Author-email: Jonathan Rampersad <jonathan@jono-rams.work>
|
|
6
6
|
License: MIT License
|
|
@@ -59,7 +59,7 @@ A Python library for representing, manipulating, and solving polynomial equation
|
|
|
59
59
|
|
|
60
60
|
## Key Features
|
|
61
61
|
|
|
62
|
-
* **Create and Manipulate Polynomials**: Easily define polynomials of any degree and perform arithmetic operations like addition, subtraction, and scaling.
|
|
62
|
+
* **Create and Manipulate Polynomials**: Easily define polynomials of any degree and perform arithmetic operations like addition, subtraction, multiplication, and scaling.
|
|
63
63
|
* **Genetic Algorithm Solver**: Find approximate real roots for complex polynomials where analytical solutions are difficult or impossible.
|
|
64
64
|
* **CUDA Accelerated**: Leverage NVIDIA GPUs for a massive performance boost when finding roots in large solution spaces.
|
|
65
65
|
* **Analytical Solvers**: Includes standard, exact solvers for simple cases (e.g., `quadratic_solve`).
|
|
@@ -111,8 +111,8 @@ print(f"Derivative of f1: {df1}")
|
|
|
111
111
|
# > Derivative of f1: 4x - 3
|
|
112
112
|
|
|
113
113
|
# 4. Get the 2nd derivative: 4
|
|
114
|
-
|
|
115
|
-
print(f"2nd Derivative of f1: {
|
|
114
|
+
ddf1 = f1.nth_derivative(2)
|
|
115
|
+
print(f"2nd Derivative of f1: {ddf1}")
|
|
116
116
|
# > Derivative of f1: 4
|
|
117
117
|
|
|
118
118
|
# 5. Find roots analytically using the quadratic formula
|
|
@@ -9,7 +9,7 @@ A Python library for representing, manipulating, and solving polynomial equation
|
|
|
9
9
|
|
|
10
10
|
## Key Features
|
|
11
11
|
|
|
12
|
-
* **Create and Manipulate Polynomials**: Easily define polynomials of any degree and perform arithmetic operations like addition, subtraction, and scaling.
|
|
12
|
+
* **Create and Manipulate Polynomials**: Easily define polynomials of any degree and perform arithmetic operations like addition, subtraction, multiplication, and scaling.
|
|
13
13
|
* **Genetic Algorithm Solver**: Find approximate real roots for complex polynomials where analytical solutions are difficult or impossible.
|
|
14
14
|
* **CUDA Accelerated**: Leverage NVIDIA GPUs for a massive performance boost when finding roots in large solution spaces.
|
|
15
15
|
* **Analytical Solvers**: Includes standard, exact solvers for simple cases (e.g., `quadratic_solve`).
|
|
@@ -61,8 +61,8 @@ print(f"Derivative of f1: {df1}")
|
|
|
61
61
|
# > Derivative of f1: 4x - 3
|
|
62
62
|
|
|
63
63
|
# 4. Get the 2nd derivative: 4
|
|
64
|
-
|
|
65
|
-
print(f"2nd Derivative of f1: {
|
|
64
|
+
ddf1 = f1.nth_derivative(2)
|
|
65
|
+
print(f"2nd Derivative of f1: {ddf1}")
|
|
66
66
|
# > Derivative of f1: 4
|
|
67
67
|
|
|
68
68
|
# 5. Find roots analytically using the quadratic formula
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: polysolve
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: A Python library for representing, manipulating, and solving exponential functions using analytical methods and genetic algorithms, with optional CUDA acceleration.
|
|
5
5
|
Author-email: Jonathan Rampersad <jonathan@jono-rams.work>
|
|
6
6
|
License: MIT License
|
|
@@ -59,7 +59,7 @@ A Python library for representing, manipulating, and solving polynomial equation
|
|
|
59
59
|
|
|
60
60
|
## Key Features
|
|
61
61
|
|
|
62
|
-
* **Create and Manipulate Polynomials**: Easily define polynomials of any degree and perform arithmetic operations like addition, subtraction, and scaling.
|
|
62
|
+
* **Create and Manipulate Polynomials**: Easily define polynomials of any degree and perform arithmetic operations like addition, subtraction, multiplication, and scaling.
|
|
63
63
|
* **Genetic Algorithm Solver**: Find approximate real roots for complex polynomials where analytical solutions are difficult or impossible.
|
|
64
64
|
* **CUDA Accelerated**: Leverage NVIDIA GPUs for a massive performance boost when finding roots in large solution spaces.
|
|
65
65
|
* **Analytical Solvers**: Includes standard, exact solvers for simple cases (e.g., `quadratic_solve`).
|
|
@@ -111,8 +111,8 @@ print(f"Derivative of f1: {df1}")
|
|
|
111
111
|
# > Derivative of f1: 4x - 3
|
|
112
112
|
|
|
113
113
|
# 4. Get the 2nd derivative: 4
|
|
114
|
-
|
|
115
|
-
print(f"2nd Derivative of f1: {
|
|
114
|
+
ddf1 = f1.nth_derivative(2)
|
|
115
|
+
print(f"2nd Derivative of f1: {ddf1}")
|
|
116
116
|
# > Derivative of f1: 4
|
|
117
117
|
|
|
118
118
|
# 5. Find roots analytically using the quadratic formula
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|