| 125 | } |
| 126 | |
| 127 | string sparse_vector__repr__ (const std::vector<std::pair<unsigned long,double> >& v) |
| 128 | { |
| 129 | std::ostringstream sout; |
| 130 | sout << "< dlib.sparse_vector containing: \n" << sparse_vector__str__(v) << " >"; |
| 131 | return sout.str(); |
| 132 | } |
| 133 | |
| 134 | unsigned long range_len(const std::pair<unsigned long, unsigned long>& r) |
| 135 | { |
nothing calls this directly
no test coverage detected