phobos-next v0.4.6 (2022-11-25T12:27:21Z)
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.