| 77 | !*/ |
| 78 | |
| 79 | result_type operator() ( |
| 80 | const sample_type& x |
| 81 | ) const |
| 82 | /*! |
| 83 | ensures |
| 84 | - evaluates this sample according to the decision |
| 85 | function contained in this object. |
| 86 | !*/ |
| 87 | { |
| 88 | result_type temp = 0; |
| 89 | for (long i = 0; i < alpha.nr(); ++i) |
| 90 | temp += alpha(i) * kernel_function(x,basis_vectors(i)); |
| 91 | |
| 92 | return temp - b; |
| 93 | } |
| 94 | }; |
| 95 | |
| 96 | template < |