Commit 191437d4 authored by Davis King's avatar Davis King

Made the spec specifically say that new samples get appended to the end

of the linearly_independent_subset_finder.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403619
parent 73082cdb
...@@ -119,6 +119,7 @@ namespace dlib ...@@ -119,6 +119,7 @@ namespace dlib
ensures ensures
- if (x is linearly independent of the vectors already in this object) then - if (x is linearly independent of the vectors already in this object) then
- adds x into the dictionary - adds x into the dictionary
- (*this)[#dictionary_size()-1] == x
- returns true - returns true
- if (dictionary_size() < max_dictionary_size()) then - if (dictionary_size() < max_dictionary_size()) then
- #dictionary_size() == dictionary_size() + 1 - #dictionary_size() == dictionary_size() + 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment