|Bill Allombert on Wed, 17 May 2017 17:25:35 +0200|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|Re: Extracting a column of a matrix as a column vector|
On Wed, May 17, 2017 at 05:04:47PM +0200, Dirk Laurie wrote: > I have various clumsy solutions: > > vector(matsize(A), i, A[i,j])~ > Vec(vecextract(A,j)) > > I feel I am missing a trick here. What about A[,j] ? Also supported are A[j,] (lines) A[,1..3] A[1..2,2..3] (sub matrix) A[,^j] (remove column j) etc. Cheers, Bill.