addinvers

synopsis: INT addinvers(OP a,b)

description:

b becomes the additive inverse of the
object a. a and b may be equal. b is freed first
It work for the following kind of objects:
BRUCH, CYCLOTOMIC, HOM_SYM, FINITEFIELD,
INTEGER, LONGINT, MONOM
MONOPOLY, GRAL, POLYNOM, SCHUBERT, SCHUR, SQ_RADICAL,
SYMCHAR, VECTOR
cf. also addinvers_apply

return:

OK or ERROR

bugs:

if a and b are equal we make no use of it
May be some types are missing e.g. MATRIX

Send comments or suggestions to:
symmetrica (at) symmetrica.de

this page was automatically generated on So Jan 4 10:35:44 CET 2009 on the machine btn6xf