MCPcopy Create free account
hub / github.com/EricLengyel/Terathon-Math-Library / Sin

Function Sin

TSDualNum.h:313–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311 }
312
313 DualNum Sin(const DualNum& d)
314 {
315 float x, y;
316
317 CosSin(d.s, &x, &y);
318 return (DualNum(y, d.t * x));
319 }
320
321 DualNum Cos(const DualNum& d)
322 {

Callers

nothing calls this directly

Calls 2

CosSinFunction · 0.85
DualNumClass · 0.85

Tested by

no test coverage detected