Examples
linstep
(
Heaviside
(
x
-2)*
Heaviside
(3-
x
),
x
)
θ
⎛
⎝
x
−2
⎞
⎠
−
θ
⎛
⎝
x
−3
⎞
⎠
linstep
(
abs
(
x
-1),
x
)
θ
⎛
⎝
x
−1
⎞
⎠
⎛
⎝
2
x
−2
⎞
⎠
−
x
+1
linstep
(
piecewise
(
x
<0,
piecewise
(
x
<-1,1,-1),
x
)*(
abs
(
x
-1)+
sign
(
x
)),
x
)
2
x
θ
⎛
⎝
x
+1
⎞
⎠
+
θ
⎛
⎝
x
⎞
⎠
⎛
⎝
−
x
2
+
x
⎞
⎠
+
θ
⎛
⎝
x
−1
⎞
⎠
⎛
⎝
2
x
2
−2
x
⎞
⎠
−
x