symmetrize_pwc¶
-
static
OperationNamespace.
symmetrize_pwc
(pwc, *, name=None)¶ Creates the symmetrization of a piecewise-constant function.
- Parameters
pwc (TensorPwc) – The piecewise-constant function \(v(t)\) to symmetrize.
name (str, optional) – The name of the node.
- Returns
The piecewise-constant function \(w(t)\) defined by \(w(t)=v(t)\) for \(0\leq t\leq \tau\) and \(w(t)=v(2\tau-t)\) for \(\tau\leq t\leq 2\tau\), where \(\tau\) is the duration of \(v(t)\).
- Return type