R/calculus.R
drop_remainder.Rd
Remove remainder term
drop_remainder(x)
Expression to remove remainder term from
taylor()
if (has_sympy()) { def_sym(x) f <- cos(x) ft_with_O <- taylor(f, x0 = 0, n = 4+1) ft_with_O ft_with_O %>% drop_remainder() %>% as_expr() } #> expression(x^4/24 - x^2/2 + 1)