Ruffini

Latest version: v1.3

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.3

Changelog

__Docs__
- [X] Created tutorials in docs
- [X] Adjusted references

__New Classes__
- [X] `FPolynomial`

__New Methods__
- [X] `Monomial().has_root()` and `Monomial().root()`
- [X] `Polynomial().factorize()` shorthand
- [X] `Polynomial().__hash__()`
- [X] `Polynomial().eval()`
- [X] `Polynomial().zeros`

__New Functions__
- [X] `gcd(*args)` and `lcm(*args)` shortands
- [X] `Variable()` shorthand
- [X] `factorize()`
- [X] `gcf()`
- [X] `binomial_square()`

__Changes__
- [X] Added multiple "initializations" (`Monomial(5, {'x': 1})` and `Monomial(5, x=1)`) for each function/class/method
- [X] Add monomial's default values (`coefficient=1`, `variables=VariablesDict()`)
- [X] `Monomial().__call__()` -> `Monomial().eval()`
- [X] Made `__repr__()` equals to `__str__()`
- [X] Made legal `Monomial(2, {'x': 1}).eval(x=Monomial(2, {'y': 2}))`

1.2

1.1

Fixed documentations and bug fixing

1.0

First release. Created monomial and polynomial classes and added the basics operations.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.