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

Array-Scalar Operations #162

Closed
Pencilcaseman opened this issue Feb 11, 2023 · 0 comments
Closed

Array-Scalar Operations #162

Pencilcaseman opened this issue Feb 11, 2023 · 0 comments
Assignees
Labels
c++ Pull requests that update C++ code code cleanup Involves cleaning up the project enhancement New feature or request

Comments

@Pencilcaseman
Copy link
Member

Pencilcaseman commented Feb 11, 2023

Allow operations involving Arrays and scalar objects.

For instance, the following code shoudld compile and run correctly.

lrc::Array<double> myArray(lrc::Shape({5}));
myArray << 1, 2, 3, 4, 5;
fmt::print("{}\n", myArray * 2); // [2 4 6 8 10]
@Pencilcaseman Pencilcaseman self-assigned this Feb 11, 2023
@Pencilcaseman Pencilcaseman added enhancement New feature or request c++ Pull requests that update C++ code code cleanup Involves cleaning up the project labels Feb 11, 2023
Pencilcaseman added a commit that referenced this issue May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ Pull requests that update C++ code code cleanup Involves cleaning up the project enhancement New feature or request
Projects
Status: February 2023
Development

No branches or pull requests

1 participant