Repository navigation
Breaking changes
- ⚠ Rename
Complexclass tocomplex - ⚠ Rename
ComplexMathtocmath - ⚠ Rename
complex.phase()tocomplex.arg() - ⚠ Rename
complex.mult()tocomplex.mul() - ❌ Remove static functions
complex.Inf(),complex.NaN() - ❌ Remove static functions
complex.fromReal(),complex.fromImag() - ❌ Remove
complex.IsInf(),complex.IsNaN(),complex.IsZero()
Features
- ✨ Add static function
complex.fromPolar()to create a new complex number from its polar coordinates - ✨ Add
complex.polar()which returns the polar coordinates - ✨ Add
complex.neg()which returns the negation of the complex number
Updates
- 🔧 Update handling for special cases in some mathematic functions
Docs
- 📚 Improve and add "Special cases" sections with a table to some mathematic functions
Miscellaneous changes
- Update
ci.yml - Update
LICENSEcopyright year
Full Changelog: 1.1.1...2.0.0