element-wise function
nounUK /ˈɛlɪmənt waɪz ˈfʌŋkʃən/
US /ˈɛləmənt waɪz ˈfʌŋkʃən/
A rule that works on each piece of a group one at a time.
Adding two lists with an element-wise function gives [3, 5, 7] from [1, 2, 3] and [2, 3, 4].
OTHER MEANINGS
2. A function applied separately to every entry of a matrix or array.
The element-wise function squared each number in the grid.
3. A computation that pairs items by position rather than combining them as a whole.
Multiplying vectors with an element-wise function matches first with first, second with second.
4. In programming, a routine that loops over each item of a collection independently.
The library provides an element-wise function for adding two arrays.