cupyx.scipy.linalg.hankel¶
-
cupyx.scipy.linalg.hankel(c, r=None)[source]¶ Construct a Hankel matrix.
The Hankel matrix has constant anti-diagonals, with
cas its first column andras its last row. Ifris not given, thenr = zeros_like(c)is assumed.- Parameters
c (cupy.ndarray) – First column of the matrix. Whatever the actual shape of
c, it will be converted to a 1-D array.r (cupy.ndarray, optionnal) – Last row of the matrix. If None,
r = zeros_like(c)is assumed.r[0]is ignored; the last row of the returned matrix is[c[-1], r[1:]]. Whatever the actual shape ofr, it will be converted to a 1-D array.
- Returns
- The Hankel matrix. Dtype is the same as
(c[0] + r[0]).dtype.
- Return type
See also
See also
See also