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

Function sinc

dlib/test/svr_linear_trainer.cpp:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28// ----------------------------------------------------------------------------------------
29
30 double sinc(double x)
31 {
32 if (x == 0)
33 return 1;
34 return sin(x)/x;
35 }
36
37 template <typename scalar_type>
38 void test1()

Callers 1

test1Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected