Вопрос

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