ジュリアに傷心 Julia で 行列の積
たとえば, 3行5列の行列と, 5行4列の行列との積は, 以下のように
3行4列の行列になる.
上記の場合,
C:\Windows\system32>julia _ _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_) | Documentation: http://docs.julialang.org _ _ _| |_ __ _ | Type "help()" to list help topics | | | | | | |/ _` | | | | |_| | | | (_| | | Version 0.2.1 (2014-02-11 06:30 UTC) _/ |\__'_|_|_|\__'_| | Official http://julialang.org/ release |__/ | i686-w64-mingw32 julia> a=[11 12 13 14 15; 21 22 23 24 25; 31 32 33 34 35] 3x5 Array{Int32,2}: 11 12 13 14 15 21 22 23 24 25 31 32 33 34 35 julia> b=[11 12 13 14; 21 22 23 24; 31 32 33 34; 41 42 43 44; 51 52 53 54] 5x4 Array{Int32,2}: 11 12 13 14 21 22 23 24 31 32 33 34 41 42 43 44 51 52 53 54 julia> a * b 3x4 Array{Int32,2}: 2115 2180 2245 2310 3665 3780 3895 4010 5215 5380 5545 5710 julia>