phobos-next v0.5.1 (2022-12-21T17:07: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.