Edinah's profile - activity

 2018-04-16 16:41:13 +0200 received badge ● Famous Question (source) 2018-02-02 10:14:22 +0200 received badge ● Famous Question (source) 2016-04-22 07:31:33 +0200 received badge ● Notable Question (source) 2016-02-08 21:17:28 +0200 received badge ● Notable Question (source) 2016-01-28 14:24:58 +0200 received badge ● Popular Question (source) 2014-11-24 14:18:44 +0200 received badge ● Popular Question (source) 2013-11-04 08:35:13 +0200 marked best answer How to factor polynomials in var('x') over the semi-ring of polynomials with non-negative integer coefficients ? You can not (yet?) define polynomials over NN in Sage, because it is not a ring. What you can do is to define your polynomial over ZZ, find its factors (as elements of ZZ[x]), and then recombine them to find polynomials with non-negative entries. 2013-11-03 06:06:34 +0200 asked a question How to factor polynomials in var('x') over the semi-ring of polynomials with non-negative integer coefficients ? Is there an easy way in sage to determine the factorization of a polynomial in the variable x ( having non-negative integer coefficients), over the semi-ring of polynomials in the variable x with non-negative integer coefficients. 2013-05-27 21:05:23 +0200 received badge ● Enthusiast 2013-02-09 05:47:22 +0200 received badge ● Good Question (source) 2013-02-05 12:20:48 +0200 commented answer How to get the list of user defined variables Thank you very much! 2013-02-05 12:17:03 +0200 received badge ● Scholar (source) 2013-02-05 12:17:03 +0200 marked best answer How to get the list of user defined variables That's a good question. You can inspect the global variables that have been defined at any given point in a session, but most of those will be defined when various modules load on Sage startup. You can look just at those globals whose type is sage.symbolic.expression.Expression, there aren't too many at startup: sage: G = globals() sage: for k in G: ....: if type(G[k]) == sage.symbolic.expression.Expression: ....: print k golden_ratio log2 NaN merten I twinprime pi catalan brun euler_gamma x khinchin i glaisher mertens  Anything not on that list is a global symbolic expression that is defined in your loaded session. Variables will be among these. 2013-02-05 09:55:56 +0200 received badge ● Nice Question (source) 2013-02-05 02:06:19 +0200 received badge ● Student (source) 2013-02-01 18:32:41 +0200 asked a question How to get the list of user defined variables How do I get the list of user defined variables in a sage session I just loaded using the load_session command ?