hops
include
hops
Optimization
Kernel
ZeroKernel.hpp
Go to the documentation of this file.
1
#ifndef HOPS_ZEROKERNEL_HPP
2
#define HOPS_ZEROKERNEL_HPP
3
4
#include <cmath>
5
6
namespace
hops
{
7
template
<
typename
MatrixType>
8
class
ZeroKernel
{
9
public
:
10
ZeroKernel
() {
11
//
12
}
13
14
MatrixType
operator()
(
const
MatrixType
& x,
const
MatrixType
& y) {
15
return
MatrixType::Zero(x.size(), y.size());
16
}
17
};
18
}
19
20
#endif // HOPS_ZEROKERNEL_HPP
hops::MatrixType
Eigen::MatrixXd MatrixType
Definition:
MatrixType.hpp:7
hops::ZeroKernel::operator()
MatrixType operator()(const MatrixType &x, const MatrixType &y)
Definition:
ZeroKernel.hpp:14
hops::ZeroKernel::ZeroKernel
ZeroKernel()
Definition:
ZeroKernel.hpp:10
hops::ZeroKernel
Definition:
ZeroKernel.hpp:8
hops
Definition:
CsvReader.hpp:8
Generated by
1.8.17