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

Method operator()

examples/using_custom_kernels_ex.cpp:62–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 scalar_type sigma;
61
62 scalar_type operator() (
63 const sample_type& a,
64 const sample_type& b
65 ) const
66 {
67 // This is the formula for the UKF kernel from the above referenced paper.
68 return 1/(length_squared(a-b) + sigma);
69 }
70
71 bool operator== (
72 const ukf_kernel& k

Callers

nothing calls this directly

Calls 1

length_squaredFunction · 0.50

Tested by

no test coverage detected