Learn R Programming

ltsa (version 1.4.6.1)

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

Description

Auxilary function, used to validate the input of TrenchInverse

Usage

is.toeplitz(x)

Value

returns True or False according to whether x is or is not a symmetric Toeplitz matrix

Arguments

x

value to be tested

Author

A.I. McLeod

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