cells#

swordfish.function.cells()#

Return a vector of cells in a matrix by the specified row and column index.

Parameters:
  • obj (Constant) – A matrix.

  • row (Constant) – A vector of integral type, indicating indices of rows.

  • col (Constant) – A vector of integral type of the same length as row, indicating indices of columns.