v0.5.1-dev (#20)
All checks were successful
Publish Python Package to PyPI / deploy (push) Successful in 56s
All checks were successful
Publish Python Package to PyPI / deploy (push) Successful in 56s
Reviewed-on: #20 Co-authored-by: Jonathan Rampersad <rampersad.jonathan@gmail.com> Co-committed-by: Jonathan Rampersad <rampersad.jonathan@gmail.com>
This commit was merged in pull request #20.
This commit is contained in:
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
|
|||||||
[project]
|
[project]
|
||||||
# --- Core Metadata ---
|
# --- Core Metadata ---
|
||||||
name = "polysolve"
|
name = "polysolve"
|
||||||
version = "0.5.0"
|
version = "0.5.1"
|
||||||
authors = [
|
authors = [
|
||||||
{ name="Jonathan Rampersad", email="jonathan@jono-rams.work" },
|
{ name="Jonathan Rampersad", email="jonathan@jono-rams.work" },
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -713,7 +713,7 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
# --- Root Finding ---
|
# --- Root Finding ---
|
||||||
# 1. Analytical solution for quadratic
|
# 1. Analytical solution for quadratic
|
||||||
roots_analytic = quadratic_solve(f1)
|
roots_analytic = f1.quadratic_solve()
|
||||||
print(f"Analytic roots of f1: {roots_analytic}") # Expected: -1, 2.5
|
print(f"Analytic roots of f1: {roots_analytic}") # Expected: -1, 2.5
|
||||||
|
|
||||||
# 2. Genetic algorithm solution
|
# 2. Genetic algorithm solution
|
||||||
|
|||||||
Reference in New Issue
Block a user