| 35 | const scalar_type gamma; |
| 36 | |
| 37 | scalar_type operator() ( |
| 38 | const sample_type& a, |
| 39 | const sample_type& b |
| 40 | ) const |
| 41 | { |
| 42 | const scalar_type d = distance_squared(a,b); |
| 43 | return std::exp(-gamma*d); |
| 44 | } |
| 45 | |
| 46 | sparse_radial_basis_kernel& operator= ( |
| 47 | const sparse_radial_basis_kernel& k |
nothing calls this directly
no test coverage detected