is.toeplitz {ltsa} | R Documentation |
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 |
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.
Value
returns True or False according to whether x is or is not a symmetric Toeplitz matrix
Author(s)
A.I. McLeod
See Also
Examples
is.toeplitz(toeplitz(1:5))
is.toeplitz(5)
[Package ltsa version 1.4.6 Index]