SparsePwc

class SparsePwc(operation, value_shape, durations)

A piecewise-constant sparse-matrix-valued function of time.

Variables
  • value_shape (tuple) – The shape of the function value.

  • durations (np.ndarray) – The durations of the constant segments.

See also

sparse_pwc_operator

Operation to create SparsePwc operators.