| 151 | const scalar_type degree; |
| 152 | |
| 153 | scalar_type operator() ( |
| 154 | const sample_type& a, |
| 155 | const sample_type& b |
| 156 | ) const |
| 157 | { |
| 158 | return std::pow(gamma*(trans(a)*b) + coef, degree); |
| 159 | } |
| 160 | |
| 161 | polynomial_kernel& operator= ( |
| 162 | const polynomial_kernel& k |