Initialize row vector multiple lines

You can also use multiline comments #= ... =# to eliminate the line break, e.g.

x = [1 2 3 #=
  =# 4 5 6]

See also this discussion: https://github.com/JuliaLang/julia/issues/27533

3 Likes