Next: , Previous: matrix-from-columns, Up: Composition functions


4.3.4.8 row

— Function: grid:row grid index &optional destination

The subgrid with the first index set to the specified value.

— Function: (setf grid:row)

Set the subgrid with the first index set to the specified value.

The functions row, (setf row) select or set the row of a matrix. For example, select the second row from the matrix above:

     (row (test-grid-double-float 'array '(3 4)) 1)
     #(10.0d0 11.0d0 12.0d0 13.0d0)