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

Function Cos

TSDualNum.h:321–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

319 }
320
321 DualNum Cos(const DualNum& d)
322 {
323 float x, y;
324
325 CosSin(d.s, &x, &y);
326 return (DualNum(x, -d.t * y));
327 }
328
329 DualNum Tan(const DualNum& d)
330 {

Callers

nothing calls this directly

Calls 2

CosSinFunction · 0.85
DualNumClass · 0.85

Tested by

no test coverage detected