Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EricLengyel/Terathon-Math-Library
/ Inverse
Function
Inverse
TSDualNum.h:263–267 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
261
// ==============================================
262
263
DualNum Inverse(const DualNum& d)
264
{
265
float a = 1.0F / d.s;
266
return (DualNum(a, -d.t * (a * a)));
267
}
268
269
DualNum Sqrt(const DualNum& d)
270
{
Callers
nothing calls this directly
Calls
1
DualNum
Class · 0.85
Tested by
no test coverage detected