hankel | R Documentation |
Forms a symmetric Hankel matrix of order n
from the values in vector \bold{x}
and optionally the vector \bold{y}
.
hankel(x, y = NULL)
x |
the first column to form the Hankel matrix. |
y |
the last column of the Hankel matrix. If |
A symmetric Hankel matrix of order n
.
x <- 1:4
y <- c(4,6,8,10)
# H4
hankel(x)
# H({1,2,3,4},{4,6,8,10})
hankel(x, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.