setIndexedMatrix_#

swordfish.function.setIndexedMatrix_()#

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

参数:
  • 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.