One-over-one-minus for spray objects; the nearest to ‘division’ that we can get.
ooom(S, n)
object of class spray
Order of the approximation
Returns a spray object of the same arity as S.
S
Returns the Taylor expansion to order \(n\).
# NOT RUN { a <- homog(4,2) jj <- (1-a)*ooom(a,3) constant(jj) # should be 1 rowSums(index(jj)) # a single 0 and lots of 8s. # }
Run the code above in your browser using DataCamp Workspace