Navigation

Operators and Keywords

Function List:

C++ API

sortrows.m File Reference


Functions

 if (issparse(m)) if(nargin
endif elseif (nargin==1) i
 elseif (all(c > 0)) i
 elseif (all(c< 0)) i
 mode (1:size(m, 2))
 if (c(ii)< 0) mode
 !assert (x,[1, 2;1, 1;2, 7;3, 6])
 !assert (idx,[2;1;4;3])
 !assert (issparse(sx))
 !assert (x, full(sx))
 !assert (idx, sidx)

Variables

 function [s, i]
 other_mode = "descend"
else i = sort_rows_idx_generic (default_mode, other_mode, m, c)
endif s = m(i,:)
else for ii = 1:length (c)
endif endfor indices = other_mode abs(c(:))
 mode = flipud (mode')
endfor endfunction!shared m
endfor endfunction!shared c
endfor endfunction!shared x
endfor endfunction!shared idx
endfor endfunction!shared sx
endfor endfunction!shared sidx !m = [1, 1
 !c = [1, -2]

Function Documentation

!assert ( idx  ,
sidx   
)

!assert ( ,
full(sx  
)

!assert ( issparse(sx  ) 

!assert ( idx   ) 

!assert (  ) 

elseif ( all(c< 0)   ) 

elseif ( all(c > 0)   ) 

endif elseif ( nargin  = =1  ) 

if (  ) 

if ( issparse(m)   ) 

mode ( 1:  sizem, 2  ) 


Variable Documentation

!c = [1, -2]

endfor endfunction !shared sidx !m = [1, 1

endfor endfunction !shared c

function[s, i]

Initial value:

 sortrows (m, c)

  default_mode = "ascend"

i = sort_rows_idx_generic (default_mode, other_mode, m, c)

endfor endfunction !shared idx

for ii = 1:length (c)

endif indices = other_mode abs(c(:))

endfor endfunction !shared m

mode = flipud (mode')

other_mode = "descend"

endif s = m(i,:)

endfor endfunction !shared x