MCPcopy Create free account
hub / github.com/davisking/dlib / sinc

Function sinc

examples/rvm_regression_ex.cpp:19–24  ·  view source on GitHub ↗

Here is the sinc function we will be trying to learn with rvm regression

Source from the content-addressed store, hash-verified

17
18// Here is the sinc function we will be trying to learn with rvm regression
19double sinc(double x)
20{
21 if (x == 0)
22 return 1;
23 return sin(x)/x;
24}
25
26int main()
27{

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected