Re: [sage-support] CAS/LDAP

2012-08-22 Thread Dumont Thierry
Le 23/08/2012 00:33, Nathan Yeung a écrit : Hi, I would like to add CAS/LDAP authentication to the Sage Server I just created. Does anyone know how to do that for Sage? Sincerely, Nathan Yeung BYU Math CSR I implemented a *very* minimal patch of the notebook, to do ldap identification; it is

[sage-support] CAS/LDAP

2012-08-22 Thread Nathan Yeung
Hi, I would like to add CAS/LDAP authentication to the Sage Server I just created. Does anyone know how to do that for Sage? Sincerely, Nathan Yeung BYU Math CSR -- You received this message because you are subscribed to the Google Groups "sage-support" group. To post to this group, send emai

Re: [sage-support] boolean to binary conversion?

2012-08-22 Thread Eric Kangas
ok thanks did not know about that at all. So I spend an hour on figuring out 10 lines of code to do the same thing. figures lol. On Wednesday, August 22, 2012 8:32:36 AM UTC-7, David Joyner wrote: > > On Wed, Aug 22, 2012 at 11:27 AM, Eric Kangas > > > wrote: > > Hi, > > > > I am wondering i

[sage-support] Re: Keeping rational functions simple throughout gaussian elimination

2012-08-22 Thread JamesHDavenport
I have no idea whether SAGE supports this, but basically what you need is fraction-free Gaussian elimination: See section 3.2.3 of http:/staff.bath.ac.uk/masjhd/JHD-CA.pdf On Wednesday, 22 August 2012 13:04:08 UTC+1, Erik Aas wrote: > > I'm trying to solve a system of linear equations over the f

[sage-support] plot color computet by function

2012-08-22 Thread danjo86
Hey, i need some help. I try to definde the mandelbrotset with colors defined by following function: sage: def mandel(x,y): v=[];c=x+y*i;z=c;v.append(z) for m in range(30): if abs(z)<2: z=z^2+c;v.append(z);color=exp(-m) return color

[sage-support] Re: vim support

2012-08-22 Thread P Purkayastha
On 08/22/2012 04:52 AM, Peng Yu wrote: Hi, I followed the following tip to set up vim for sage. But I don't see syntax highlight nor correctly auto indentation. Has anybody successfully configured vim for sage? http://wiki.sagemath.org/Tips Vim filetypes To get Vim to use Python syntax highlig

Re: [sage-support] boolean to binary conversion?

2012-08-22 Thread David Joyner
On Wed, Aug 22, 2012 at 11:27 AM, Eric Kangas wrote: > Hi, > > I am wondering if there is a boolean to binary converter function in sage? I'm not sure exactly what you mean but isn't that already built into Python? >>> int(False) 0 > If not. I have created a sage notebook that can convert boolea

[sage-support] boolean to binary conversion?

2012-08-22 Thread Eric Kangas
Hi, I am wondering if there is a boolean to binary converter function in sage? If not. I have created a sage notebook that can convert boolean (true, false) to binary(1,0). As for creating the actual code to be submitted to sage for the next version do I have to anything different to the code I

[sage-support] Re: vim support

2012-08-22 Thread Dima Pasechnik
On Wednesday, 22 August 2012 04:52:24 UTC+8, Peng Yu wrote: > > Hi, > > I followed the following tip to set up vim for sage. But I don't see > syntax highlight nor correctly auto indentation. Has anybody > successfully configured vim for sage? > Do Python syntax high-lightings work in your vi

[sage-support] Keeping rational functions simple throughout gaussian elimination

2012-08-22 Thread Erik Aas
I'm trying to solve a system of linear equations over the field Q(x1,...,xn) of rational functions in x1,...,xn. The system is Ax = 0 where A has entries from the field and has rather large size (500 rows and columns for example). One way to do it is to compute kernel(A). In my case it is 1-dim