git.schokokeks.org
Repositories
Help
Report an Issue
SVMCrossVal.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
4b57696
Branches
Tags
master
SVMCrossVal.git
private
sortedAdd.m
moved helpercode to private
Christoph Budziszewski
commited
4b57696
at 2009-01-07 09:24:55
sortedAdd.m
Blame
History
Raw
function sortedList = sortedAdd(element, list) if(isempty(list)) sortedList = element; return; end head = list(1); if element.id < head.id sortedList = [element list]; else sortedList = [head sortedAdd(element, list(2:length(list)))]; end end