kernel.hpp
来自「dysii是一款非常出色的滤波函数库」· HPP 代码 · 共 35 行
HPP
35 行
#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 + =
减小字号Ctrl + -
显示快捷键?