-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
deprecate rand! etc. in favor of x .= rand.()? #19796
Comments
(Though The argument is similar for deprecating |
Can't the specific broadcast function that |
Yes, it can. Of course, it won't work if you fuse the |
Yes, but that should be fine I think. You couldn't used the optimized one if you wrote the fused version manually anyway, right? |
Right. |
Can one replace use cases like |
@TotalVerb, that would work. I agree it's more verbose, but I don't think that construct is very common; I can only find two packages that use it in test scripts, and in both cases they could have used |
On the other hand, (The argument for replacing |
Though slightly more verbose, perhaps
Perhaps |
(Also relevant to |
Since we can now do
x .= rand.()
to evaluaterand()
for each element ofx
, do we still needrand!
etcetera?See also #12277.
The text was updated successfully, but these errors were encountered: