phobos-next v0.3.9 (2020-08-07T21:50:30Z)
Home
Dub
Repo
smootherstep
nxt
numeric_ex
Smootherstep from
edge0
to
edge1
at
x
.
@
safe
pure nothrow
E
smootherstep
(
E
)
(
E
edge0
,
E
edge1
,
E
x
)
if
(
isFloatingPoint
!(
E
)
)
Examples
assert
(
smootherstep
(
1.0
,
0.0
,
2.0
) ==
0
);
Meta
Source
See Implementation
nxt
numeric_ex
functions
argmax
argmax_
argmin
argmin_
product
signalEntropy
smootherstep
smoothstep
step
sum
Smootherstep from edge0 to edge1 at x.