MCPcopy Create free account
hub / github.com/davisking/dlib / access

Function access

dlib/svm/kernel_matrix.h:36–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 // probably itself a sparse sample.
35 template <typename kernel_type, typename T, typename alloc>
36 inline typename disable_if<is_pair<T>,const T&>::type access ( const std::vector<T,alloc>& m, long i)
37 {
38 return m[i];
39 }
40
41 // Only use this function if T isn't a std::pair because in that case the entire vector is
42 // probably a sparse sample.

Callers 1

subprocess_streamMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected