toeplitz
Form Symmetric Toeplitz Matrix

Description

Create a symmetric Toeplitz matrix.

Usage

toeplitz(x, ...)

Arguments

x any vector.
... a warning will be given if any other arguments are given.

Details

toeplitz returns a symmetric Toeplitz matrix formed from vector x, where x defines the first row of the matrix and the first column of the matrix. For the rest of other elements in the matrix, it is always same as the left-upper one. That is:
A[1, j] = x, for 1 <= j <= length(x)
A[i, 1] = x, for 1 <= i <= length(x)
A[i, j] = A[i-1, j-1], for i>1 and j >1
Value
a symmetric toeplitz matrix which row and column size are same as the length of vector x.
References
http://en.wikipedia.org/wiki/Toeplitz_matrix.
See Also
matrix
Examples
toeplitz(letters[1:5])
toeplitz(sqrt(1:6))
Package stats version 6.1.1-7
Package Index