2 stable releases

1.0.1 Jul 17, 2022
1.0.0 Apr 4, 2022

#1495 in Math

Download history 82/week @ 2023-12-12 281/week @ 2023-12-19 4/week @ 2023-12-26 141/week @ 2024-01-02 109/week @ 2024-01-09 77/week @ 2024-01-16 122/week @ 2024-01-23 275/week @ 2024-01-30 259/week @ 2024-02-06 172/week @ 2024-02-13 118/week @ 2024-02-20 337/week @ 2024-02-27 206/week @ 2024-03-05 127/week @ 2024-03-12 292/week @ 2024-03-19 170/week @ 2024-03-26

820 downloads per month
Used in 2 crates

GPL-3.0-only

15KB
181 lines

Library for the calculation of complex number division.

Repository

Crate registry

Documentation

This library implements the division between complex numbers with floating point representation.

The algorithm is aimed to avoid overflows and underflows.

A dedicated method is available for complex number inversion. It is guaranteed that:

compdiv(1., 0., c, d) = compinv(c, d)

Minimum compiler version

The minimum rustc compiler version is 1.56.

References

Michael Baudin, Robert L. Smith, A Robust Complex Division in Scilab, 2012, arXiv:1210.4539v2 cs.MS


lib.rs:

Library for the calculation of complex number division.

This library implements the division between complex numbers with floating point representation.

The algorithm is aimed to avoid overflows and underflows.

A dedicated method is available for complex number inversion. It is guaranteed that:

compdiv(1., 0., c, d) = compinv(c, d)

Minimum compiler version

The minimum rustc compiler version is 1.56.

References

Michael Baudin, Robert L. Smith, A Robust Complex Division in Scilab, 2012, arXiv:1210.4539v2 cs.MS

No runtime deps