문제

Could someone please demonstrate how to input a matrix manual in Julia?

Code might act like like:

pseudo>(9 3 2, 3 2 1)

9 3 2
3 2 1
도움이 되었습니까?

해결책

The typical MATLAB syntax.

julia> [9 3 2; 3 2 1]
2x3 Array{Int64,2}:
9  3  2
3  2  1
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top