|  |  7.5.13.0. addRat Procedure from librarydmodloc.lib(see  dmodloc_lib).
 
Example:Usage:
addRat(v,w); v,w vectors
Assume:
Assume that v,w have exactly two components, second ones not 0.
Return:
vector, representing rational function (v[1]/v[2])+(w[1]/w[2])
Note:
Possibly present non-commutative relations of the basering are
ignored.
 |  | LIB "dmodloc.lib";
ring r = 0,(x,y),dp;
vector v = [x,y];
vector w = [y,x];
addRat(v,w);
==> x2*gen(1)+xy*gen(2)+y2*gen(1)
addRat(v,w) - [x2+y2,xy];
==> 0
 | 
 
 |