Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for rand 0.5 #26

Closed
cuviper opened this issue May 21, 2018 · 0 comments
Closed

Support for rand 0.5 #26

cuviper opened this issue May 21, 2018 · 0 comments

Comments

@cuviper
Copy link
Member

cuviper commented May 21, 2018

Rand 0.5 was released today! And since we're new to rand support here, it might make sense to update before num-complex 0.2 is ever released. Rand 0.5 only supports rust 1.22+, but again since this is new functionality, and optional, that limitation may be fine. The worst case is that a user might have to use Complex::new(rng.gen(), rng.gen()) manually, as they probably do without our support.

We can potentially implement a lot of the distributions for Complex<T> based on T's own support. For many of them, we can just use T as a univariate distribution, and map it as a multivariate distribution on the real and imaginary axes. We can just stick to Standard distribution as the first step though.

@cuviper cuviper added this to the num-complex-0.2 milestone May 21, 2018
bors bot added a commit that referenced this issue May 22, 2018
28: Update to rand 0.5 r=cuviper a=cuviper

Closes #26.

Co-authored-by: Josh Stone <cuviper@gmail.com>
@bors bors bot closed this as completed in #28 May 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant