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

Multiplying an entire array with a single value #60

Open
snordgren opened this issue Jun 11, 2017 · 0 comments
Open

Multiplying an entire array with a single value #60

snordgren opened this issue Jun 11, 2017 · 0 comments

Comments

@snordgren
Copy link
Contributor

For writing, for example, a method that scales a data set, it would be useful to be able to write something along the lines of

(* 2 [2, 3])

and get the expected result [4, 6], as well as performing other arithmetic operations or functions where one argument is a single value applied to all elements of an array argument.

I have implemented this feature to familiarize myself with the Huo codebase, it can be found at my constant-array-expansion branch of my fork. Feedback/issues appreciated!

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

1 participant