spray (version 1.0)

ooom:

Description

One-over-one-minus for spray objects; the nearest to ‘division’ that we can get.

Usage

ooom(S, n)

Arguments

S
object of class spray
n
Order of the approximation

Value

Returns a spray object of the same arity as S.

Details

Returns the Taylor expansion to order \(n\).

Examples

Run this code

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 DataLab