Functions | |
endfunction | !assert (issparse(spones([1, 2;3, 0])))%!assert(spones([1 |
endfunction | sparse ([1, 1;1, 0]))%!assert(spones(sparse([1 |
Variables | |
function | s |
endif [i, j, v] = find (s) |
endfunction !assert | ( | issparse(spones([1, 2;3, 0])) | ) |
endfunction sparse | ( | ) |
s |
Initial value:
spones (s) if (nargin != 1) print_usage ()