JuliaLang/julia — pull request #940 by dronir (2012-06-17 12:53:15+00:00)
Title: Functions to get row and column vectors of matrices

Add two functions for returning row an column vectors of matrices.
rowvec(A,i) returns the ith row of A as a Vector and similarly
colvec(A,i) returns the ith column. This is to work around the
fact that matrix slices are not Vectors. See issue #934.