SparsePwc

class boulderopal.graph.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

Graph.sparse_pwc_operator

Operation to create SparsePwc operators.

Notes

The value of SparsePwc nodes is not fetchable from graphs. Therefore, they do not have a name attribute.