randsupport has been updated to 0.8, requiring Rust 1.36.
Contributors: @cuviper
- Clarify the license specification as "MIT OR Apache-2.0".
Contributors: @cuviper
- The new "libm" feature passes through to
num-traits, enablingFloatfeatures on no-stdbuilds.
num-complexnow requires Rust 1.31 or greater.- The "i128" opt-in feature was removed, now always available.
- Updated public dependences:
randsupport has been updated to 0.7, requiring Rust 1.32.
- Methods for
T: Floatnow take values instead of references, most notably affecting the constructorfrom_polar.
Contributors: @cuviper, @SOF3, @vks
Complex::newis now aconst fnfor Rust 1.31 and later.- Updated the
autocfgbuild dependency to 1.0.
Contributors: @burrbull, @cuviper, @dingelish
Complex::sqrt()is now more accurate for negative reals.Complex::cbrt()computes the principal cube root.
Contributors: @cuviper
Complex::l1_norm()computes the Manhattan distance from the origin.Complex::fdiv()andfinv()use floating-point for inversion, which may avoid overflows for some inputs, at the cost of trigonometric rounding.Complexnow implementsnum_traits::MulAddandMulAddAssign.Complexnow implementsZero::set_zeroandOne::set_one.Complexnow implementsnum_traits::Powand addspowiandpowu.
Contributors: @adamnemecek, @cuviper, @ignatenkobrain, @Schultzer
Contributors: @cuviper, @termoshtt
Complexnow implementsnum_traits::InvandOne::is_one.Complexnow implementsSumandProduct.Complexnow supportsi128andu128components with Rust 1.26+.Complexnow optionally supportsrand0.5, implementing theStandarddistribution and a genericComplexDistribution.Remwith a scalar divisor now avoidsnorm_sqroverflow.
num-complexnow requires rustc 1.15 or greater.- There is now a
stdfeature, enabled by default, along with the implication that building without this feature makes this a#![no_std]crate. A few methods now requireFloatCore, and the remaining methods based onFloatare only supported withstd. - The
serdedependency has been updated to 1.0, andrustc-serializeis no longer supported bynum-complex.
Contributors: @clarcharr, @cuviper, @shingtaklam1324, @termoshtt
Contributors: @shingtaklam1324
Contributors: @cuviper
No prior release notes were kept. Thanks all the same to the many contributors that have made this crate what it is!