row_sorted
Determine if the row vector is sorted. If the argument is that the matrix is determined,than the matrix rows are sorted.
Arguments
- Input vector or matrix, double or complex values.
- String 'a' or 'd', 'a' for ascending and 'd' for descending order
Output
Boolean
Examples