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

.^ produces an MVector #63

Closed
stevengj opened this issue Nov 2, 2016 · 1 comment
Closed

.^ produces an MVector #63

stevengj opened this issue Nov 2, 2016 · 1 comment

Comments

@stevengj
Copy link
Contributor

stevengj commented Nov 2, 2016

julia> SVector(1,2,3) .^ 2
3-element StaticArrays.MVector{3,Int64}:
 1
 4
 9

julia> @which SVector(1,2,3) .^ 2
.^{T}(A::AbstractArray{T,N<:Any}, B::Number) at arraymath.jl:77

Probably there should be a specialized .^ method?

@andyferris
Copy link
Member

Bugger... I know I missed some of these (I see .% and .\ are defined - what else is there?).

On the other hand, I can blame you for this!! 😛 I followed closely the dot-call syntax upgrades and eagerly await .op broadcasting the same. 😄 (Dot-call is super cool btw, especially the fusion)

oschulz pushed a commit to oschulz/StaticArrays.jl that referenced this issue Apr 4, 2023
* optimize pooling of stringarray

* minor change

* test pooling pooled arrays
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

2 participants