[sage-support] Re: vim support
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 vim? http://wiki.sagemath.org/Tips Vim filetypes To get Vim to use Python syntax highlighting, indentation, and so on for .sage files, put the following in $VIM/filetype.vim: augroup filetypedetect au! BufRead,BufNewFile *.sage,*.spyx,*.pyx setfiletype python augroup END -- Regards, Peng -- You received this message because you are subscribed to the Google Groups sage-support group. To post to this group, send email to sage-support@googlegroups.com. To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support?hl=en.
Re: [sage-support] boolean to binary conversion?
On Wed, Aug 22, 2012 at 11:27 AM, Eric Kangas eric.c.kan...@gmail.com 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 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 have in the notebook? Where do I send it for submission? Eric -- You received this message because you are subscribed to the Google Groups sage-support group. To post to this group, send email to sage-support@googlegroups.com. To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support?hl=en. -- You received this message because you are subscribed to the Google Groups sage-support group. To post to this group, send email to sage-support@googlegroups.com. To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support?hl=en.
[sage-support] plot color computet by function
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 Then i typed: plot3d(0,(x,-2,2),(y,-2,2),rgbcolor=hue(mandel)) Now i get TypeError? May anyone has an idea? Thanks for help Danjo -- You received this message because you are subscribed to the Google Groups sage-support group. To post to this group, send email to sage-support@googlegroups.com. To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support?hl=en.
[sage-support] Re: Keeping rational functions simple throughout gaussian elimination
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 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-dimensional. The basis vector returned has coordinates of the form (polynomial/polynomial + polynomial) / (polynomial - polynomial) et.c. Calling .denominator() and .numerator() on the expression does not terminate before my patience does. Is there a way to make sure the equation solver keep all coefficients on the form polynomial / polynomial? -- You received this message because you are subscribed to the Google Groups sage-support group. To post to this group, send email to sage-support@googlegroups.com. To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support?hl=en.
Re: [sage-support] boolean to binary conversion?
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 eric.c...@gmail.comjavascript: 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 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 have in the notebook? Where do I send it for submission? Eric -- You received this message because you are subscribed to the Google Groups sage-support group. To post to this group, send email to sage-s...@googlegroups.comjavascript:. To unsubscribe from this group, send email to sage-support...@googlegroups.com javascript:. Visit this group at http://groups.google.com/group/sage-support?hl=en. -- You received this message because you are subscribed to the Google Groups sage-support group. To post to this group, send email to sage-support@googlegroups.com. To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support?hl=en.
[sage-support] CAS/LDAP
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 email to sage-support@googlegroups.com. To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support?hl=en.