powered by
Toeplitz(a, b)
(length(a), length(b))
a
b
If the first element of b differs from the last element of a it is overwritten by this one (and a warning sent).
hankel
Toeplitz(c(1, 2, 3, 4, 5)) Toeplitz(c(1, 2, 3, 4, 5), c(1.5, 2.5, 3.5, 4.5, 5.5))
Run the code above in your browser using DataLab