forked from Singular/Singular
-
Notifications
You must be signed in to change notification settings - Fork 0
Porting instructions
burcin edited this page Jul 18, 2011
·
8 revisions
To create a test environment:
- get the sources with
git clone -b spielwiese git://git.berlios.de/singular <directory_name> cd <directory_name_from_above>- run
./for_Hans_with_love.shfrom the root directory - run
./configure - build libpolys:
make - test libpolys:
make check cd kernel
Run make <file_name>.o from the kernel directory to test that file.
- 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.ccfor the correct includes. - coefficients were separated from polynomial rings.
- There is a new type
coeffs. - Operations on
coeffsare done byn_*functions, wherecoeffsis 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
currRingis discouraged.