Vectorize Operator

Keystroke: [Ctrl]−

vectorize operator example

Applies operators and functions element-wise to an array, allowing you to perform iterative calculations without using a range variable.

Operands:

Example:

To perform an element-wise matrix multiplication of A and B, two matrices of the same size, you type A*B, select the entire expression, then type [Ctrl]− to vectorize the multiplication operation.

element-wise matrix multiplication

The vectorized product returns an array of the same size as A and B in which each element contains the product of the paired elements of A and B. The non-vectorized product performs a standard matrix multiplication.

Notes:

QuickSheet