📄 kernel.hpp
字号:
#ifndef INDII_ML_AUX_KERNEL_HPP#define INDII_ML_AUX_KERNEL_HPPnamespace indii { namespace ml { namespace aux {/** * Kernel for density estimation. * * @author Lawrence Murray <lawrence@indii.org> * @version $Rev: 404 $ * @date $Date: 2008-03-05 14:52:55 +0000 (Wed, 05 Mar 2008) $ */class Kernel {public: /** * Evaluate the kernel. * * @param x Point at which to evaluate the kernel. * * @return Density of the kernel at the given point. */ virtual double operator()(const double x) const = 0; virtual double sample() const = 0; }; } }}#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -