# Singular

 Note: If not registered, provide any username. For more comfort, register here.
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters.

 Smilies
 Font size: Tiny Small Normal Large Huge Font colour
Options:
 BBCode is ON [img] is ON [flash] is OFF [url] is ON Smilies are ON
 Disable BBCode Disable smilies Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.

Topic review - changed deg() behaviour in Singular
Author Message
 hannes
 Post subject: Re: changed deg() behaviour in Singular
 deg(p) returns the maximal degree of all monomials in the polynomialswith respect to the weights of the variables.The weights of the variables are derived from the ordering ifthe ordering is not a block ordering and if all weights are positive.Otherwise, the weights are 1.This is a result of the requirement that there are only finitely many monomialsof the same degree (for non-blockorderings): it was not honored in 3-1.If you do not like this choice of weights, useCode:deg(p,w);where w is the weight vector of your choice. deg(p) returns the maximal degree of all monomials in the polynomialswith respect to the weights of the variables.The weights of the variables are derived from the ordering ifthe ordering is not a block ordering and if all weights are positive.Otherwise, the weights are 1.This is a result of the requirement that there are only finitely many monomialsof the same degree (for non-blockorderings): it was not honored in 3-1.If you do not like this choice of weights, use[code]deg(p,w);[/code]where w is the weight vector of your choice.
 Posted: Wed Jun 15, 2016 10:32 am
 jakobkroeker
 Post subject: changed deg() behaviour in Singular
 In Singular the behaviour of deg() changed between v3.1.7 and v 4.0.3. Question:- Which answer is correct ?- Which of the answers users really expected?Code:                     SINGULAR                                 /  Development A Computer Algebra System for Polynomial Computations       /   version 3-1-7                                                           0< by: W. Decker, G.-M. Greuel, G. Pfister, H. Schoenemann     \   Aug 2013FB Mathematik der Universitaet, D-67653 Kaiserslautern        \// ** executing /run/media/jakob/TOEXT4/work/home_fc18/Projects/lipmanresolve/Singular-3-1-7/Singular/LIB/.singularrc> ring rng = 0,(x,y,z),dp;> . intmat im[3][3] = 3,0,1,1,1,0,1,0,0;> ring S = 0,(x,y,z),(M(im));> S;//   characteristic : 0//   number of vars : 3//        block   1 : ordering M//                  : names    x y z//                  : weights  3 0 1//                  : weights  1 1 0//                  : weights  1 0 0//        block   2 : ordering C> poly p = x^3*y+x*z^4;> . deg(p);9> quit;Auf Wiedersehen.[jakob@vogon lipmanresolve]\$ ./singular-spielwiese                      SINGULAR                                 /  Development A Computer Algebra System for Polynomial Computations       /   version 4.0.3                                                           0< by: W. Decker, G.-M. Greuel, G. Pfister, H. Schoenemann     \   Jan 2016FB Mathematik der Universitaet, D-67653 Kaiserslautern        \// ** executing /run/media/jakob/TOEXT4/work/home_fc18/Projects/lipmanresolve/Singular-spielwiese/BUILD/Singular/LIB/.singularrc> ring rng = 0,(x,y,z),dp;> . intmat im[3][3] = 3,0,1,1,1,0,1,0,0;> ring S = 0,(x,y,z),(M(im));> S;//   characteristic : 0//   number of vars : 3//        block   1 : ordering M//                  : names    x y z//                  : weights  3 0 1//                  : weights  1 1 0//                  : weights  1 0 0//        block   2 : ordering C> poly p = x^3*y+x*z^4;> . deg(p);5Remark: the changes also affects software which depends on Singular In Singular the behaviour of deg() changed between v3.1.7 and v 4.0.3. Question:- Which answer is correct ?- Which of the answers users really expected?[code] SINGULAR / Development A Computer Algebra System for Polynomial Computations / version 3-1-7 0< by: W. Decker, G.-M. Greuel, G. Pfister, H. Schoenemann \ Aug 2013FB Mathematik der Universitaet, D-67653 Kaiserslautern \// ** executing /run/media/jakob/TOEXT4/work/home_fc18/Projects/lipmanresolve/Singular-3-1-7/Singular/LIB/.singularrc> ring rng = 0,(x,y,z),dp;> . intmat im[3][3] = 3,0,1,1,1,0,1,0,0;> ring S = 0,(x,y,z),(M(im));> S;// characteristic : 0// number of vars : 3// block 1 : ordering M// : names x y z// : weights 3 0 1// : weights 1 1 0// : weights 1 0 0// block 2 : ordering C> poly p = x^3*y+x*z^4;> . deg(p);9> quit;Auf Wiedersehen.[jakob@vogon lipmanresolve]\$ ./singular-spielwiese SINGULAR / Development A Computer Algebra System for Polynomial Computations / version 4.0.3 0< by: W. Decker, G.-M. Greuel, G. Pfister, H. Schoenemann \ Jan 2016FB Mathematik der Universitaet, D-67653 Kaiserslautern \// ** executing /run/media/jakob/TOEXT4/work/home_fc18/Projects/lipmanresolve/Singular-spielwiese/BUILD/Singular/LIB/.singularrc> ring rng = 0,(x,y,z),dp;> . intmat im[3][3] = 3,0,1,1,1,0,1,0,0;> ring S = 0,(x,y,z),(M(im));> S;// characteristic : 0// number of vars : 3// block 1 : ordering M// : names x y z// : weights 3 0 1// : weights 1 1 0// : weights 1 0 0// block 2 : ordering C> poly p = x^3*y+x*z^4;> . deg(p);5[/code]Remark: the changes also affects software which depends on Singular
 Posted: Wed Jun 15, 2016 1:01 am

 It is currently Mon Oct 15, 2018 11:17 pm