MCPcopy Create free account
hub / github.com/BoevaLab/FREEC / EpanechnikovKernel

Function EpanechnikovKernel

src/KernelVector.cpp:62–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62float EpanechnikovKernel (float u) {
63 if (-1<=u && u<=1) return 3*(1-u*u)/4 ;
64 return 0;
65}

Callers 1

KernelVectorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected