Opened 4 years ago
#856 new bug
normal and other functions print annoying messages
Reported by: | Owned by: | somebody | |
---|---|---|---|
Priority: | minor | Milestone: | 4-2-0 and higher |
Component: | dontKnow | Version: | 4-1-2 |
Keywords: | Cc: |
Description
When Singular is called as a library, as opposed to being called from the interpreter, the function normal in normal.lib (and various other functions), print messages which are meaningless to users who are calling Singular as a library. This includes Singular.jl (part of Oscar).
The message gives information which is only useful to users of the Singular interpreter, and for example currently prints due to the use of normal in the Singular.jl test code.
Here is the message which is printed:
'normal' created a list, say nor, of three elements. To see the list type
nor;
* nor[1] is a list of 3 ring(s). To access the i-th ring nor[1][i], give it a name, say Ri, and type
For the other rings type first (if R is the name of your base ring)
setring R;
and then continue as for R1. Ri/norid is the affine algebra of the normalization of R/P_i where P_i is the i-th component of a decomposition of the input ideal id and normap the normalization map from R to Ri/norid. * nor[2] is a list of 3 ideal(s). Let ci be the last generator of the ideal nor[2][i]. Then the integral closure of R/P_i is generated as R-submodule of the total ring of fractions by 1/ci * nor[2][i]. * nor[3] is a list of an intvec of size 3 the delta invariants of the components, and an integer, the total delta invariant of R/id (-1 means infinite, and 0 that R/P_i resp. R/id is normal).