Learn R Programming

FormalSeries (version 1.0)

FormalSeries-package: Elementary arithemtic in formal series rings

Description

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.

Arguments

Details

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.

See Also

fseries rfseries

Examples

Run this code
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

Run the code above in your browser using DataLab