[sage-support] How to convert a symbolic expression to a finite field element?

2014-06-13 Thread Lian Liu
I created a finite field Fq. = GF(3^10) there is a symbolic expression, for example, ex = (2*a^9 + 2*a^8 + a^4 +1)/(a^5+2*a+2) and we have type(ex) = how can we convert the symbolic expression ex so that it is evaluated as an element in Fq, That is, eval = a^9 + a^8 + a^7 + a^5 + 2*a^4 + a^3 +

[sage-support] LaTeX rendering problem in a local installation of the sage notebook server

2014-06-13 Thread Keir Lockridge
Hi, I have Sage v6.2 installed 'in the cloud' (Amazon). The OS is RHEL. I have used Sage for a couple of years without incident, but I am suddenly having a problem with LaTeX rendering in the notebook. When I enclose a formula in double dollar signs, it renders just fine as a centered equation.

[sage-support] Defining a Variable so that its Conjugate always Equals Itself

2014-06-13 Thread Chris Maness
Is there a way that I can define my variables to be real, so that when I take square the modulus, I don't get variables with bars over them when they are assumed real. Thanks, Chris -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscr

[sage-support] Options for the Sage expand function

2014-06-13 Thread jeanbigboute
I am coming up to speed on Python, Sympy, and Sage by doing some simple problems on all three. Sympy has an option for its expand function, complex=True, that has made some of my expressions easier to read/use. I'm working with quotients of complex numbers. This option allows Sympy to return

Re: [sage-support] Re: Who needs karma for ask.sagemath.org ?

2014-06-13 Thread William Stein
On Fri, Jun 13, 2014 at 12:04 PM, Hansen Chen wrote: > Hi, Thierry: > > I plan to ask the following question. I have only karma =1. > > Access privilege. > > 1. In the projects page > One project has an eye icon on the left most column while the newest one > has a lock icon in the left column. I

[sage-support] Re: Who needs karma for ask.sagemath.org ?

2014-06-13 Thread Hansen Chen
Hi, Thierry: I plan to ask the following question. I have only karma =1. Access privilege. 1. In the projects page One project has an eye icon on the left most column while the newest one has a lock icon in the left column. I suppose these indicate access privilege. However, I can not find way

[sage-support] Who needs karma for ask.sagemath.org ?

2014-06-13 Thread Thierry
Hi all, it seems that the karma threshold that is used to block spam also blocks newcommers. This was supposed to be a temporary solution until we move to a more recent version of askbot, but it takes more time than planned. Let us do the following: if you need karma to post interesting questions

Re: [sage-support] Is there a plan to make ask.sagemath.org available?

2014-06-13 Thread Kannappan Sampath
On Fri, Jun 13, 2014 at 2:49 PM, Bruno Grenet wrote: > Hi Kannappan, > > Actually, I was thinking that it may be a good idea to be part of > Stackexchange to maximize visibility. So I am now a follower a I am looking > forward to see the platform launched! > > That's fantastic! > Best, > Bruno >

[sage-support] Get the treee obtained by the BFS on a graph

2014-06-13 Thread François Thiré
Hi, I need to construct a BFS order (rooted in v0 for example) from a graph, Then, I need to obtain the vertex at distance min{r, d(v,v0)} from v on the path of the BFS-tree from v to v0. I'd like to know if I have to build myself the tree from the list obtained by the function breadth_first_se

Re: [sage-support] Is there a plan to make ask.sagemath.org available?

2014-06-13 Thread Bruno Grenet
Hi Kannappan, Actually, I was thinking that it may be a good idea to be part of Stackexchange to maximize visibility. So I am now a follower a I am looking forward to see the platform launched! Best, Bruno Le vendredi 13 juin 2014 10:58:45 UTC+2, KnS a écrit : > > Oh, and I forgot to link to i

[sage-support] Re: Sage not finding Gambit's command line tools

2014-06-13 Thread James Campbell
Ok, thanks for all your help! I'll see what I can get sorted. James -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com.

Re: [sage-support] Is there a plan to make ask.sagemath.org available?

2014-06-13 Thread Kannappan Sampath
Oh, and I forgot to link to it: http://area51.stackexchange.com/proposals/70511/sage -- Kannappan. On Fri, Jun 13, 2014 at 2:27 PM, Kannappan Sampath wrote: > Hi Bruno, > > My answer won't help the case in point but ... > > Here is some plug: there is a proposal for Sage StackExchange site wh

[sage-support] Re: Sage not finding Gambit's command line tools

2014-06-13 Thread Dima Pasechnik
On 2014-06-13, James Campbell wrote: > Yes I did install using sage -sh. > > No, I haven't tried using them within Sage's python. If they don't work > there > what would be the solution? then it means that Gambit has hard time whenever your Python etc is not at a "standard" location. E.g. it cou

Re: [sage-support] Is there a plan to make ask.sagemath.org available?

2014-06-13 Thread Kannappan Sampath
Hi Bruno, My answer won't help the case in point but ... Here is some plug: there is a proposal for Sage StackExchange site which can get off the ground with more support (at the moment, we are short of the threshold number of upvoted questions). So, please follow the proposal, add new example qu

[sage-support] Is there a plan to make ask.sagemath.org available?

2014-06-13 Thread Bruno Grenet
Dear all, Right now, it is not possible for new users (with karma = 1, or even < 10) to post questions nor answers to ask.sagemath.org. This is a bit a shame since this kind of website is very useful in particular for softwares like Sage where one may need some savoir-faire which is not exactly

[sage-support] Re: Sage not finding Gambit's command line tools

2014-06-13 Thread Vince
On Wednesday, June 11, 2014 4:11:43 PM UTC+1, leif wrote: > > James Campbell wrote: > > Hi, > > > > I'm trying to get Gambit working as an > > external package. > > I followed through the steps about packaging third party > >

[sage-support] Re: Sage not finding Gambit's command line tools

2014-06-13 Thread James Campbell
Yes I did install using sage -sh. No, I haven't tried using them within Sage's python. If they don't work there what would be the solution? Thanks for the help James On Wednesday, June 11, 2014 9:44:00 AM UTC+1, Dima Pasechnik wrote: > > On 2014-06-09, James Campbell > > wrote: > > Hi, > >