Mercurial > octave-antonio
comparison scripts/general/sortrows.m @ 11587:c792872f8942
all script files: untabify and strip trailing whitespace
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 17:35:29 -0500 |
parents | fd0a3ac60b0e |
children | 4d777e05d47c |
comparison
equal
deleted
inserted
replaced
11586:12df7854fa7c | 11587:c792872f8942 |
---|---|
19 | 19 |
20 ## -*- texinfo -*- | 20 ## -*- texinfo -*- |
21 ## @deftypefn {Function File} {} sortrows (@var{A}, @var{c}) | 21 ## @deftypefn {Function File} {} sortrows (@var{A}, @var{c}) |
22 ## Sort the rows of the matrix @var{A} according to the order of the | 22 ## Sort the rows of the matrix @var{A} according to the order of the |
23 ## columns specified in @var{c}. If @var{c} is omitted, a | 23 ## columns specified in @var{c}. If @var{c} is omitted, a |
24 ## lexicographical sort is used. By default ascending order is used | 24 ## lexicographical sort is used. By default ascending order is used |
25 ## however if elements of @var{c} are negative then the corresponding | 25 ## however if elements of @var{c} are negative then the corresponding |
26 ## column is sorted in descending order. | 26 ## column is sorted in descending order. |
27 ## @end deftypefn | 27 ## @end deftypefn |
28 | 28 |
29 ## Author: Daniel Calvelo, Paul Kienzle | 29 ## Author: Daniel Calvelo, Paul Kienzle |
30 ## Adapted-by: jwe | 30 ## Adapted-by: jwe |