elementwise function

noun
UK /ˌelɪməntˈwaɪz ˈfʌŋkʃən/
US /ˌelɪməntˈwaɪz ˈfʌŋkʃən/

A rule that works on each item in a list one by one.

The elementwise function added two to every number in the list.


OTHER MEANINGS

2. In programming, a function applied to every element of an array without writing a loop.

NumPy's elementwise function squared each value in the array at once.

3. In mathematics, an operation defined separately on each coordinate of a tuple or vector.

The elementwise function multiplied each coordinate of the vector by three.

4. A mapping in data processing that transforms each record independently of the others.

We used an elementwise function to clean every row of the table.