num-complex icon indicating copy to clipboard operation
num-complex copied to clipboard

Complex numbers for Rust

Results 23 num-complex issues
Sort by recently updated
recently updated
newest added

For some reason github closed the old PR while I was trying to merge master into the old pr. Should've used rebase!

I am writing a function, which uses the cast between "Complex" and other "Num"s such as "u64, f64, Complex". The cast between "Complex" and primitive will be correct. But how...

I've got to write a lot of unit tests for functions that will be producing lists of complex numbers. They come out in an arbitrary order so I was hoping...

_From @rust-highfive on November 2, 2014 21:42_ **Issue by [huonw](https://github.com/huonw)** _Friday Apr 05, 2013 at 08:26 GMT_ _For earlier discussion, see https://github.com/rust-lang/rust/issues/5736_ _This issue was labelled with: A-libs, B-RFC, I-wrong...

help wanted
question

This library appears to be the de-facto standard for complex numbers. Downstreams include ndarray and nalgebra. I just ran into an issue where ndarray is using an older version of...

The current implementation for complex multiplication uses the "naive" algorithm, see `lib.rs` lines 683-692. ```rs // (a + i b) * (c + i d) == (a*c - b*d) +...

I have a simple request based on an actual use-case that I needed: helper functions to create reals and imaginaries directly. ```rust impl Complex { fn re(re: T) -> Complex...

enhancement

This proposal would involves breaking changes and it is also a bit of personal opinion, so feel free to close it. The names `Complex32` or `Complex64` may be confusing for...

In the implementation of complex, the Add, Sub, etc. for references are forwarded via clone() for values. This is very bad for types which are expensive to copy. In my...