This task is similar to:

   Matrix multiplication
   Matrix transposition


Task

Implement basic element-wise matrix-matrix and scalar-matrix operations, which can be referred to in other, higher-order tasks.

Implement:

   addition
   subtraction
   multiplication
   division
   exponentiation


Extend the task if necessary to include additional basic operations, which should not require their own specialised task.




# Built-in element-wise operator ~
 
#addition
<1,2,3;4,5,6> +~ 2;
 
#subtraction
<2,3,1,4;0,-2,-2,1> -~ 4;
 
#multiplication
<2,3,1,4;0,-2,-2,1> *~ 4;
 
#division
<2,3,7,9;6,8,4,5;7,0,10,11> /~ 2;
 
#exponentiation
<1,2,0; 7,2,7; 6,11,3>^~5;