matrix_op_to_all/4

"matrix_op_to_all(+ Matrix1,+ Op,+ Operand,- Result" )

Result is the result of applying Op to all elements of Matrix1, with Operand as the second argument. Currently, only addition (+), multiplication (\*), and division (/) are supported.

Apply a constant to every element of the matrix.