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