5 lines
75 B
Mathematica
5 lines
75 B
Mathematica
|
|
a = rand;
|
||
|
|
b = rand(10,10);
|
||
|
|
scalar_matrix = a * b;
|
||
|
|
component_wise = b .* b;
|