-
-
Notifications
You must be signed in to change notification settings - Fork 15
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 StaticArrays (MVector) #9
Comments
I don't think this will be possible. The |
The |
I've opened #10 to replace all |
Thanks. MVector is currently being reworked so that they stay mutable between operations (they can currently return SVectors), see JuliaArrays/StaticArrays.jl#536. So if the In other words, if It's not obvious how to get |
fill!(similar(float.(complex(poly))), 0) should do the trick |
That would actually need to be fill!(similar(float.(complex(poly)), (degree,)), 0) but doesn't work because similar(float.(complex(poly)), (degree,)) gives a similar(float.(complex(poly))) which gives an |
This was actually just brought up by someone else last week JuliaArrays/StaticArrays.jl#545. The current suggestion is to use |
This package is strictly coded for Julia native
Vector
s. I can't tell just by looking at the source if there would be a performance speedup by generalizing the types to allow for S or MVectors of theStaticArrays
package, but it's the preferred Julia style to allow as general type arguments as possible.The text was updated successfully, but these errors were encountered: