cmatrix.Matrix.column¶
- Matrix.column()¶
Xtract the ind column of the self Matrix object.
Parameters
type
Description
ind
int
the indice of the column to xtract
- Returns
- List
The list containig all the matrix column values
Examples
>>> mat=unit(4) >>> mat.column(0) [1, 0, 0, 0] >>> mat.column(1) [0, 1, 0, 0] >>> mat.column(2) [0, 0, 1, 0] >>> mat.column(3) [0, 0, 0, 1]