double biweight(double x);
Returns the value of the Biweight kernel at the point x.
Parameters:
x | Value to evaluate the kernal at. |
---|
Returns:
If -1 ≤ x ≤ 1, 0.3125 (1.0 - x2)2.
Otherwise, 0.0
Usage:
double r = biweight(0.75)
Header:
#include "kernels.h"