cupyx.scipy.linalg.toeplitz#
- cupyx.scipy.linalg.toeplitz(c, r=None)[source]#
Construct a Toeplitz matrix.
The Toeplitz matrix has constant diagonals, with
c
as its first column andr
as its first row. Ifr
is not given,r == conjugate(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, optional) – First row of the matrix. If None,
r = conjugate(c)
is assumed; in this case, ifc[0]
is real, the result is a Hermitian matrix. r[0] is ignored; the first row of the returned matrix is[c[0], r[1:]]
. Whatever the actual shape ofr
, it will be converted to a 1-D array.
- Returns:
The Toeplitz matrix. Dtype is the same as
(c[0] + r[0]).dtype
.- Return type:
See also
See also
See also
cupyx.scipy.linalg.solve_toeplitz()
See also
See also