Ask Your Question

Mbochk's profile - activity

2016-04-11 16:47:43 -0500 received badge  Famous Question (source)
2015-11-08 03:57:15 -0500 received badge  Taxonomist
2015-05-19 18:08:50 -0500 received badge  Notable Question (source)
2014-07-22 18:54:16 -0500 received badge  Popular Question (source)
2012-04-04 01:37:24 -0500 asked a question global variables

If I have a global variable N, how can i set N = smth inside of defined function?

def foo()
  N = 10

doesn't change global N, because Sage makes N local variable.

2012-03-21 21:34:41 -0500 received badge  Nice Answer (source)
2012-02-03 03:42:13 -0500 received badge  Teacher (source)
2012-02-03 02:11:01 -0500 answered a question Matrix of variables required, or is it there already?

Yes. You can change base ring to Symbolic Ring, or pre-determine it with lambda construction

2012-02-03 01:54:57 -0500 received badge  Supporter (source)
2012-02-03 01:34:31 -0500 asked a question weight orders

I found that installed Sage on my VM Ubuntu can't create weighted TermOrders. Using 'Force = True' results in a ring with just lex order. Reinstalling doesn't help.

Copying from results in Error massage: "verbose 0 (388:, __init__) Term ordering 'wdegrevlex' unknown"

how can i fix that problem?