Hankel {orthogonalsplinebasis} | R Documentation |
Generating a Hankel Matrix
Description
Functions to generate a Hankel matrix.
Usage
Hankel(x, nrow = length(x)%/%2, ncol = length(x)%/%2)
Arguments
x |
numeric vector to specify the entries of the matrix. Should have an even number of entries. |
nrow |
integer, must be at most length(x) |
ncol |
integer, must be at most length(x) |
Details
Computes a Hankel matrix. If we denote the vector x=(x_1,\dots,x_n)
the Hankel matrix is defined and formed as
H=\left(
\begin{array}{ccccc}
x_1&x_2&x_3&\cdots&x_{1/2}\\
x_2&x_3&&\vdots&\vdots\\
x_3&&\vdots&&\vdots\\
\vdots&\vdots&&&\vdots\\
x_{1/2}&\cdots&\cdots&\cdots&x_n
\end{array}\right).
Value
a matrix as defined above.
Examples
Hankel(1:6)
[Package orthogonalsplinebasis version 0.1.7 Index]