gfm v1.1.3 (2014-06-18T21:14:08Z)
Home
Dub
Repo
solveLinear
gfm
math
funcs
Find the root of a linear polynomial a + b x = 0
pure nothrow
size_t
solveLinear
(
T
)
(
T
a
,
T
b
,
out
T
root
)
if
(
isFloatingPoint
!
T
)
Return Value
Type:
size_t
Number of roots.
Meta
Source
See Implementation
gfm
math
funcs
functions
clamp
degrees
fract
ilog2
isPowerOf2
lerp
lfloor
ltrunc
max
min
moduloWrap
nextPowerOf2
radians
safeAcos
safeAsin
sinOverX
smoothStep
solveCubic
solveLinear
solveQuadratic
solveQuartic
step
Find the root of a linear polynomial a + b x = 0