Functions to generate a Hankel matrix.

1 |

`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) |

Computes a Hankel matrix. If we denote the vector *x=(x_1,…,x_n)* the Hankel matrix is defined and formed as

*A matrix where each antidiagonal of the matrix is constant.*

a matrix as defined above.

Andrew Redd <aredd at stat.tamu.edu>

1 | ```
Hankel(1:6)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.