dq.constant
constant(array: ArrayLike) -> ConstantTimeArray
Instantiate a constant time-array.
A constant time-array is defined by \(O(t) = O_0\) for any time \(t\), where \(O_0\) is a constant array.
Parameters
-
array
(array_like of shape (..., n, n))
–
Constant array \(O_0\).
Returns
(time-array object of shape (..., n, n) when called) Callable object returning \(O_0\) for any time \(t\).