ltsa (version 1.4.6)

is.toeplitz: test if argument is a symmetric Toeplitz matrix

Description

Auxilary function, used to validate the input of TrenchInverse

Usage

is.toeplitz(x)

Arguments

x
value to be tested

Value

a symmetric Toeplitz matrix

Details

A symmetric Toeplitz matrix of order n has (i,j)-entry of the form g[abs(1+i-j)], where g is a vector of length n.

See Also

TrenchInverse, toeplitz

Examples

Run this code
is.toeplitz(toeplitz(1:5))
is.toeplitz(5)

Run the code above in your browser using DataLab