You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Suminda Dharmasena (Jira)" <ji...@apache.org> on 2020/07/13 16:15:00 UTC
[jira] [Created] (GROOVY-9640) Element-wise Array, Collection
Operations
Suminda Dharmasena created GROOVY-9640:
------------------------------------------
Summary: Element-wise Array, Collection Operations
Key: GROOVY-9640
URL: https://issues.apache.org/jira/browse/GROOVY-9640
Project: Groovy
Issue Type: New Feature
Reporter: Suminda Dharmasena
Can we have elementwise operations? E.g.
{code:java}
arr1 .+ arr2 // each element of the arrays are added to the corresponding element in the other array
arr1 .* arr2 // each element of the arrays are multiplied with the corresponding element in the other array
...{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)