If you saw
[1 M]
What would you expect?
I would expect a new column of 1
s to be prepended to matrix M
. i.e. the 1
would be broadcast.
So it would accomplish:
hcat( ones(size(M,1)), M )
Similarly [1;M]
would vcat
What think ye, O creators?