source: git/doc/Porting-instructions.md @ fd1c508

spielwiese
Last change on this file since fd1c508 was 75f460, checked in by Hans Schoenemann <hannes@…>, 9 years ago
format
  • Property mode set to 100644
File size: 901 bytes
Line 
1What has been changed in Singular 4  {#changes_in_sw_page}
2===================================
3
41. lots of stuff moved in the headers, which messes up the includes. This should be fixed already.
5   If there is still a problem look in `test.cc` for the correct includes.
62. coefficients were separated from polynomial rings.
7   * There is a new type `coeffs`.
8   * Operations on `coeffs` are done by `n_*` functions, where `coeffs` is the last argument (consider it as the context storing information on the coefficient domain).
9   * Functions like `nAdd(a, b)` become `n_Add(a, b, r)`.
103. new arithmetic functions.
11   * Same as the previous.
12   * Arithmetic is done with `p_*` functions, which take a ring as the last argument.
13   * The use of the global variable `currRing` is discouraged.
144. please use ring methods (e.g. rVar(r)) instead of (currRing specific) global variables (e.g. `pVariables`)
Note: See TracBrowser for help on using the repository browser.