forked from Singular/Singular
-
Notifications
You must be signed in to change notification settings - Fork 0
Porting instructions
malex984 edited this page Sep 16, 2011
·
8 revisions
- lots of stuff moved in the headers, which messes up the includes. This should be fixed already. If there is still a problem look in
test.cc
for the correct includes. - coefficients were separated from polynomial rings.
- There is a new type
coeffs
. - Operations on
coeffs
are done byn_*
functions, wherecoeffs
is the last argument (consider it as the context storing information on the coefficient domain). - Functions like
nAdd(a, b)
becomen_Add(a, b, r)
.
- new arithmetic functions.
- Same as the previous.
- Arithmetic is done with
p_*
functions, which take a ring as the last argument. - The use of the global variable
currRing
is discouraged.
- please use ring members (e.g. r->N) instead of (currRing specific) global variables (e.g.
pVariables
)