【发布时间】:2019-10-27 20:43:26
【问题描述】:
当我在 julia 中输入此错误时会跳转,但我不知道为什么,它应该可以工作。/
julia> A = [1 2 3 4; 5 6 7 8; 1 2 3 4; 5 6 7 8]
4×4 Array{Int64,2}:
1 2 3 4
5 6 7 8
1 2 3 4
5 6 7 8
julia> B = A[2:1:end; 2:1:end]
ERROR: syntax: missing last argument in "2:1:" range expression
Stacktrace:
[1] top-level scope at REPL[9]:0
【问题讨论】:
标签: julia