Adds the __eq__ operator (==) to allow for logical comparison of two Function objects based on their coefficients.
Replaces the standard quadratic formula with a numerically stable version in quadratic_solve to prevent "catastrophic cancellation" errors and improve accuracy.
Implements two features for the Function class:
1. Adds the `__eq__` operator (`==`) to allow for logical comparison of two Function objects based on their coefficients.
2. Replaces the standard quadratic formula with a numerically stable version in `quadratic_solve` to prevent "catastrophic cancellation" errors and improve accuracy.
Implements two features for the Function class:
1. Adds the `__eq__` operator (`==`) to allow for logical comparison of two Function objects based on their coefficients.
2. Replaces the standard quadratic formula with a numerically stable version in `quadratic_solve` to prevent "catastrophic cancellation" errors and improve accuracy.
jono
merged commit 94723dcb88 into main2025-11-02 16:53:38 +00:00
jono
deleted branch v0.6.2-dev2025-11-02 16:53:38 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Implements two features for the Function class:
__eq__operator (==) to allow for logical comparison of two Function objects based on their coefficients.quadratic_solveto prevent "catastrophic cancellation" errors and improve accuracy.