setIndexedMatrix_#

swordfish.function.setIndexedMatrix_()#

Set the labels of the rows and columns of a matrix as the indexes.

Parameters:
  • X (Constant) – A matrix with row labels and column labels. Row labels and column labels must be monotonically increasing with no duplicate values.

  • on (Constant, optional) – A Boolean value indicating the conversion between a matrix and an indexed matrix, by default DFLT.