test if argument is a symmetric Toeplitz matrix
Auxilary function, used to validate the input of TrenchInverse
is.toeplitz(x)
x
: value to be testedA 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.
returns True or False according to whether x is or is not a symmetric Toeplitz matrix
A.I. McLeod
TrenchInverse
, toeplitz
is.toeplitz(toeplitz(1:5)) is.toeplitz(5)