Matrix multiplication: Difference between revisions

add a julia entry
(+ second D entry)
(add a julia entry)
Line 1,715:
<pre>-7,-6,11
-17,-20,25</pre>
 
=={{header|Julia}}==
The multiplication is denoted by *
<lang Julia>julia> [1 2 3 ; 4 5 6] * [1 2 ; 3 4 ; 5 6] # product of a 2x3 by a 3x2
2x2 Array{Int64,2}:
22 28
49 64
 
julia> [1 2 3] * [1,2,3] # product of a row vector by a column vector
1-element Array{Int64,1}:
14
</lang>
 
=={{header|K}}==