Programmer Guide/Command Reference/EVAL/sort: Difference between revisions

From STX Wiki
Jump to navigationJump to search
(initial import)
 
m (1 revision: Initial import)
(No difference)

Revision as of 17:31, 18 November 2010

sort

Sort the the rows or the columns of the vector x. This is a subcommand of the EVAL command.

Usage: 1}, x, [col=0])
3}, x, [row=0])
Parameters:
dir The direction to sort in (0=sort the rows in ascending order, 1=sort the rows in descending order, 2=sort the columns in ascending order, 3=sort the columns in descending order).
x The vector to sort.
col The column to use for sorting.
row The row to use for sorting.


| |- |Return Type: |no result |}

Navigation menu

Personal tools