Skip to content

New macros: constant, randu and randn #249

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

Merged
merged 3 commits into from
Sep 13, 2020
Merged

Conversation

9prady9
Copy link
Member

@9prady9 9prady9 commented Sep 13, 2020

Fixes #248

The syntax takes from the vec macro of rust standard library where
the literal/expr followed by a ";" gives the value with which array is
to be filled. A sequence of comma separated literals/exprs after ";"
give the target shape of array.
@9prady9 9prady9 added this to the 3.8.0 milestone Sep 13, 2020
@9prady9 9prady9 merged commit 653ef75 into arrayfire:master Sep 13, 2020
@9prady9 9prady9 deleted the new_macros branch September 13, 2020 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant