R/delzero.R

Defines functions delzero

Documented in delzero

## Delete the first zero in the output remainder of polydiv(x,y)[2],
## from the package "pracma".
delzero <- function(x){
  n <- length(x)
  if (abs(x[1])<= 1e-10)
    x <- x[2:n]
  return(x)
}

Try the Tex4exams package in your browser

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

Tex4exams documentation built on May 31, 2023, 8:04 p.m.