phobos-next ~master (2024-03-19T05:49:32Z)
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.