| 174 | kernel_ = new DenseKernel( features, ktype, ntype ); |
| 175 | } |
| 176 | void PairwisePotential::apply(MatrixXf & out, const MatrixXf & Q) const { |
| 177 | kernel_->apply( out, Q ); |
| 178 | |
| 179 | // Apply the compatibility |
| 180 | compatibility_->apply( out, out ); |
| 181 | } |
| 182 | void PairwisePotential::applyTranspose(MatrixXf & out, const MatrixXf & Q) const { |
| 183 | kernel_->applyTranspose( out, Q ); |
| 184 | // Apply the compatibility |
no outgoing calls
no test coverage detected