scalar-wise operation

noun
UK /ˈskeɪlə waɪz ˌɒpəˈreɪʃən/
US /ˈskeɪlər waɪz ˌɑːpəˈreɪʃən/

A math action done on each number one at a time.

Adding two lists with a scalar-wise operation adds each pair of numbers separately.


OTHER MEANINGS

2. A calculation applied separately to every single value in a collection.

The program used a scalar-wise operation to double every score in the list.

3. A way of combining two arrays by matching each item with its partner.

Multiplying the arrays with a scalar-wise operation gave a new array of products.

4. A step in computing where each number is handled on its own, not as a group.

The scalar-wise operation checked each pixel's brightness one by one.