How do I create a 1,2,3 3x1 Matrix?

Huh? Is there a reason for not having Matrix([1,2,3]) return the 2D column vector requested here?

6 Likes

Merged on master 40 minutes ago.

   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.7.0-DEV.1129 (2021-05-20)
 _/ |\__'_|_|_|\__'_|  |  Commit 9117b4d6d6* (0 days old master)
|__/                   |

julia> [1 ; 2 ; 3 ;;]
3×1 Matrix{Int64}:
 1
 2
 3
8 Likes