-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Issues with complex support #151
Comments
it's documented here, https://docs.rs/faer/latest/faer/complex_native/index.html |
Yeah, I saw that page. It took me quite a while to find it so I think it would be good to feature it more prominently. |
the stack overflow is due to the stack size on windows being relatively small. faer uses a lot of abstraction layers which ends up being quite costly in non optimized builds. i recommend setting as for 2, i can't return a reference to |
ok thx
Ah, right sorry, I totally forgot that Could you still document (some of) these things? I think it would be beneficial for new users of |
sure, im currently in the middle of a refactor/possible redesign phase, so this might take a while |
Describe the bug
Hi :), I was fiddling around with
faer
and found the support around complex numbers really confusing & slightly buggy.Stack overflow on windows. The following code causes a stack overflow on windows (only in
dev
builds,release
works)Additionally, for an unknown (to me) reason there is apparently no way to index a
Mat<Complex<f64>>
. The following code does not compile:At least to me it is not at all apparent why this doesn't work. I haven't found anything in the documentation about it.
It took me a very long time to figure out that you are supposed to use
c64
instead ofComplex<f64>
. Adding an example or some more documentation how to use complex numbers would be appreciated.Thx :)
The text was updated successfully, but these errors were encountered: