FormalSeries-package: Elementary arithemtic in formal series rings

Description Details Author(s) See Also Examples


Implemented, addition, subtracking, multiplication, division in formal series rings of any number of variables (except division is only to 3 variables). Also are available "[", "[<-" operators.


Package: FormalSeries
Type: Package
Version: 0.9
Date: 2012-02-17
License: GPL-2
Depends: methods

User can define formal series in object class S4 "fseries". Additionaly methods is generation random formal series by function "rfseries". Now user can operate on object class "fseries", may add, subtrack and divide two object "fseries" but also object "fseries" and "numeric". The most of operators have natural symbol but under "^" is implemented inversion. The number on the right side of "^" is the degree of inversion.


Tomasz Zmorzynski


See Also

fseries rfseries


a=rfseries(2,10,3,5) #random series
a[c(0,0)]=1 #now the formal series is invertible
#a=a+1 the second method
a&5 #compute inversion to X1^5 X2^5 expresion

Search within the FormalSeries package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.