Replies: 2 comments 9 replies
-
If you mean "multiply all the elements by 2", that would be Otherwise, I don't know what you meant by |
Beta Was this translation helpful? Give feedback.
9 replies
-
https://github.com/vlang/vsl
Such good suggestions, maybe needs to make sure it's not buried in the replies and possibly overlooked. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It is discussed here and here, but I'm no c++ wiz and I can't find an example in vlang, so:
Can someone provide a minimal example of broadcasting an operation over an array in vlang?
How could I achieve something like
[1, 2, 3, 4] .* 2
(in whatever syntax)?Beta Was this translation helpful? Give feedback.
All reactions