MCPcopy Create free account
hub / github.com/davisking/dlib / operator()

Method operator()

dlib/svm/function.h:58–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 {}
57
58 result_type operator() (
59 const sample_type& x
60 ) const
61 {
62 result_type temp = 0;
63 for (long i = 0; i < alpha.nr(); ++i)
64 temp += alpha(i) * kernel_function(x,basis_vectors(i));
65
66 return temp - b;
67 }
68 };
69
70 template <

Callers

nothing calls this directly

Calls 1

nrMethod · 0.45

Tested by

no test coverage detected