R/is.integerLfd.R

Defines functions is.integerLfd

is.integerLfd <- function(Lfdobj)
{
  #  check whether Lfd object is a simple differential operator

  #  Last modified 9 February 2007

  nderiv  <- Lfdobj$nderiv
  bintwrd <- TRUE
  if (nderiv > 0) {
    bwtlist <- Lfdobj$bwtlist
      if (!is.null(bwtlist)) {
    	  nderiv <- Lfdobj$nderiv
    	  for (j in 1:nderiv) {
          bfdj <- bwtlist[[j]]
          if (any(bfdj$coefs != 0.0)) bintwrd <- FALSE
    	  }
	}
    }
  bintwrd
}

Try the fda package in your browser

Any scripts or data that you put into this service are public.

fda documentation built on May 31, 2023, 9:19 p.m.