source: git/doc/changes_in_singular4.texi @ 95330f

spielwiese
Last change on this file since 95330f was 4fb517c, checked in by Hans Schoenemann <hannes@…>, 11 years ago
add: docu. for load(<string>,"with")
  • Property mode set to 100644
File size: 6.4 KB
Line 
1@comment this file contains the list of new features and difference between Singular 3.* and Singular 4.*
2
3The purpose of this section is to describe new features and changes
4between Singular 3-1-7 and Singular 4.* (formerly known as Spielwiese) both for developers
5and Singular users. In what follows we will refer to the systems as Singular 3 and Singular 4.
6
7@menu
8* Notes for Singular users::
9* Notes for developers::
10* Building Singular::
11@end menu
12
13
14@c ---------------------------------------------------------------------------
15@node Notes for Singular users, Notes for developers, , Singular 3 and Singular 4
16@subsection Notes for Singular users
17@cindex Notes for Singular users
18
19@subsubheading Coefficient rings
20@cindex Coefficient rings
21
22To allow for easy integration of new coefficient rings into Singular, the the way
23coefficient rings are being handled has been redesigned.
24
25In general, the user syntax has not changed, however there are some changes in the behaviour of Singular:
26
27@c table @asis
28@itemize @bullet
29@item Minor changes in the output of coefficient ring description. Moreover the output of elements of certain rings has been improved (for example, reals).
30
31@item Algebraic and transcendental extensions of rationals and finite fields
32      have been reimplemented. In particular, the heuristics for clearing denominators and factoring out content
33      have been changed. In some cases this leads to a different, mathematically equivalent results of Groebner
34      bases and related computations. For example a Groebner basis element may differ by a unit.
35
36@item Most noteably, due to the redesign of the coefficient rings, if the user sets the minimal polynomial
37      all variables dependent on the current ring are deleted.
38
39@end itemize
40@c @end table
41
42@subsubheading Ring-dependent options
43@cindex Ring-dependent options
44
45Formally global Singular @ref{option} now belong to individual polynomial rings. This includes:
46
47@c table @asis
48@itemize @bullet
49@item @code{intStrategy}
50@item @code{degBound}
51@item @code{multBound}
52????
53@end itemize
54@c @end table
55
56Hence setting these options only affects the current ring. Be aware of this
57when switching between different rings, since the options affect the
58result of various computations (in particular Groebner bases).
59
60@subsubheading New libraries depending on Singular 4
61@cindex New libraries depending on Singular 4
62
63In Singular 4 there several new features are implemented within a
64dynamic module @code{syzextra.so}, not available in Singular 3.
65It implements the low-level functions for Schreyer resolutions and many auxiliary functions.
66The following new libraries @ref{derham_lib}, @ref{schreyer_lib} depend on it:
67
68@c table @asis
69@itemize @bullet
70@item @ref{derham_lib} - computes de Rham cohomology
71@item @ref{schreyer_lib} - computes Schreyer resolution via several approaches. It also serves as a high-level wrapper to the dynamic module @code{syzextra.so}
72@end itemize
73@c @end table
74
75@subsubheading Path names
76@cindex Path names
77
78@c table @asis
79@itemize @bullet
80@item The tree structure of the binary Singular distribution has been changed. The typical tree now looks as follows:
81      *** add tree ***
82
83@item Accordingly Singular search paths (where Singular searches for libraries, dynamic modules, etc.) have been changed. You can display them by calling Singular by @code{Singular -v}.
84
85@end itemize
86@c @end table
87
88@subsubheading Library versioning
89@cindex Library versioning
90
91Due to switching from Subversion to GIT revision control system for the Singular source code,
92library version variables (displayed when loading a library) have changed.
93
94
95@subsubheading New orderings for modules
96@cindex New orderings for modules
97
98The now can assign weights to module components, when defining a monomial ordering. For example
99
100@code{> ring R = 0, (x,y,z), (am(1,2,3,   10,20,30,40), dp, C);}
101@code{> deg(x*gen(1));}
102@code{11}
103
104will assign weights 1,2,3 to x,y,z respectively, and weights 10,20,30,40,0,0,... to
105components of any free module defined over R. This ordering will first sort
106by this weighted degree, then by dp on the ring monomials and then will give priority
107to the large component index.
108
109@subsubheading Future benefits of Singular 4
110@cindex Future benefits of Singular 4
111
112The redesign of Singular will allow us to provide new features in the future, for example:
113
114@c table @asis
115@itemize @bullet
116@item Interpreter type for coefficient rings.
117@item User defined coefficient rings.
118@item Improved syntax for defining polynomial rings.
119@end itemize
120@c @end table
121
122
123
124
125@c ---------------------------------------------------------------------------
126@node Notes for developers, Building Singular, Notes for Singular users, Singular 3 and Singular 4
127@subsection Notes for developers
128@cindex Notes for developers
129
130There has been an entensive process of refactoring, redesign and modularization
131of Singular to facilitate easier maintenance and future development:
132
133@c table @asis
134@itemize @bullet
135@item Build System : automake, libfac has been integrated into Factory
136@item Removed MP (Multi protocol) in favor of SSI links.
137@item Separation/modularization into libraries and packages
138@c add diagram as an image?
139@item For easy integration of new coeffcient rings,
140we defined a generic interface for coefficient
141rings and a supporting framework for making them
142accessible to the user.
143
144In particular we have separated everything related to coeffcient rings into a separate library @code{libcoeffs}.
145
146@end itemize
147@c @end table
148
149
150
151@subsubheading Changes to build system
152@cindex Changes to build system
153
154@c ---------------------------------------------------------------------------
155@node Building Singular, , Notes for developers, Singular 3 and Singular 4
156@subsection Building Singular
157@cindex Building Singular
158
159The user can build and install Singular with the following standard UNIX-like procedure:
160
161@c table @asis
162@itemize @bullet
163@item Download and extract the latest official source package (.tar.gz).
164@item Run the configure script, for instance, @code{./configure}.
165@item Build Singular by running @code{make}.
166@item Install Singular by running @code{make install}.
167@end itemize
168@c @end table
169
170In contrast to Singular 3, there are now many more configuration options.
171
172All possible options for configure can be seen by running the configure script with
173option @code{--help}. On a multicore compute consider running make with the
174option @code{-f [cores]}.
175
176@c ---------------------------------------------------------------------------
Note: See TracBrowser for help on using the repository browser.