https://github.com/cran/ltsa
Raw File
Tip revision: 72f0ab7f859a80d0028d4552ee318382108d8bac authored by A.I. McLeod on 05 January 2008, 00:00:00 UTC
version 1.1
Tip revision: 72f0ab7
is.toeplitz.R
`is.toeplitz` <-
function(x){
is.matrix(x)&&(nrow(x)==ncol(x))&&(max(abs(x-toeplitz(x[1,])))<.Machine$double.eps)
}

back to top