isort_#

swordfish.function.isort_()#

isort_(x, ascending, y) is equivalent to y[F.isort(x, ascending)]. The result is assigned to y.

Parameters:
  • X (Constant) – A vector or a tuple of vectors of the same length.

  • ascending (Constant) – A Boolean scalar indicating whether to sort X (or vectors of X sequentially) in ascending order or descending order. The default value is true (ascending order).

  • indices (Constant) – A vector of the same length as each vector in X.