pow2

Type: External

Group: matrix

Syntax

answer = POW2(matrix)

Description

Returns 2 to the power of all the elements in a matrix.

Examples

POW2([1,2;3,4]) = [1,4;8,16]

See Also

prod, power, mpower