Hankel: Generating a Hankel Matrix

Description Usage Arguments Details Value Author(s) Examples

View source: R/orthogonalBsplines.R

Description

Functions to generate a Hankel matrix.

Usage

1
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,…,x_n) the Hankel matrix is defined and formed as

A matrix where each antidiagonal of the matrix is constant.

Value

a matrix as defined above.

Author(s)

Andrew Redd <aredd at stat.tamu.edu>

Examples

1
Hankel(1:6)


orthogonalsplinebasis documentation built on May 21, 2017, 1:44 a.m.
Search within the orthogonalsplinebasis package
Search all R packages, documentation and source code

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

Please suggest features or report bugs in the GitHub issue tracker.

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