Re: [sage-support] Problem with sagetex with a large file (many sage calculations)

2012-01-19 Thread Dan Drake
On Fri, 16 Dec 2011 at 12:41PM -0800, Steven McKay wrote: > Hi, > I have been writing a large set of notes for Differential Equations, > and have come across an annoying problem (that is probably my fault.) > After adding enough sage constructions to my latex file, I started > getting errors like:

Re: [sage-support] Two problems using SageTex on Sage 4.7.2

2012-01-19 Thread Dan Drake
On Fri, 16 Dec 2011 at 03:54AM -0800, Anthony Wickstead wrote: > The first, that I can work around although it is redious, is that > sagetex when processing "test.tex" now produces "test.sagetex.sage" > rather than "test.sage". When processed using remote-sagetex.py this > puts plots into a directo

Re: [sage-support] Issues with bessel function.

2012-01-19 Thread Michael Orlitzky
On 01/19/2012 05:57 PM, Eric Kangas wrote: I have worked with bessel functions before and haven't had a problem until now. Code: - r,p,z,ro,gro,g,k = var('r, p, z,ro,gro,g,k') g = 1; k = 1; ro = 1; gro = 1 def Psi(r,z): return lambda r,z: (r*bessel_J(1, g*r))/(ro*bessel_J(1, gro))*cos(k*z)

Re: [sage-support] Minor issue: Polynomial simplify, square roots

2012-01-19 Thread Michael Orlitzky
On 01/17/2012 04:54 AM, Jori Mantysalo wrote: After saying R. = PolynomialRing(QQ) both of these works: expand ( (t-(5-sqrt(7))) * (t-(5+sqrt(7))) ) expand ( (t-(5-sqrt(7))) * (t-(5+sqrt(7))) ) and I got t^2 - 10*t + 18 and t^2 - 4*t + 1 as expected. However, expand ( (t-(2-sqrt(3))) * (t-(

[sage-support] Re: Attribute error when multiplying elements of a quotient free algebra

2012-01-19 Thread Starx
Ah, I understand. Thank you for your help :) -Jim On Jan 17, 4:10 pm, Maarten Derickx wrote: > Dear Jim, > > The problem is that kQ.gens()[0] is not an element of the kQ.monoid() as is > required as said in the documentation and the examples. To fix your problem: > > sage: kQ = FreeAlgebra(QQ ,

[sage-support] Issues with bessel function.

2012-01-19 Thread Eric Kangas
I have worked with bessel functions before and haven't had a problem until now. Code: - r,p,z,ro,gro,g,k = var('r, p, z,ro,gro,g,k') g = 1; k = 1; ro = 1; gro = 1 def Psi(r,z): return lambda r,z: (r*bessel_J(1, g*r))/(ro*bessel_J(1, gro))*cos(k*z) if y != 0 and t != 0 else infinity Error: --

[sage-support] Re: plots in 3d are not published?

2012-01-19 Thread LFS
Thanks so much! Linda -- 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 For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org

Re: [sage-support] Order of a cyclic group

2012-01-19 Thread John Cremona
On 19 January 2012 15:39, Santanu Sarkar wrote: > Consider a polynomial f(x) over GF(2)[x]. How is it possible > to find the order of the cyclic group generated by f(x)? What do you mean by the group generated by the polynomial? Do you mean the group generated by a root of f (when f is irreducib

[sage-support] Order of a cyclic group

2012-01-19 Thread Santanu Sarkar
Consider a polynomial f(x) over GF(2)[x]. How is it possible to find the order of the cyclic group generated by f(x)? -- 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 For more options, vi

Re: [sage-support] sage build FAIL - An error occurred while installing patch-2.5.9.p2

2012-01-19 Thread Dan Drake
Having patch fail to build sounds truly strange. Is your source tarball corrupt? I'd check the md5sum and make sure it's correct. If it is, then something bizarre is happening so that patch isn't building addext.o, argmatch.o, and those other files. Dan -- --- Dan Drake - http://mathsci

Re: [sage-support] sage build FAIL - An error occurred while installing patch-2.5.9.p2

2012-01-19 Thread Jeroen Demeyer
On 2012-01-18 21:48, Sean McDuffee wrote: > Hi, > > Trying to build sage on an Intel x86_64 4 core cpu based computer > running Fedora 14. GCC version 4.5.1. It bombs on the following: That's very weird and looks a bug with "make", building the executable "patch" when the dependencies aren't bui

[sage-support] sage build FAIL - An error occurred while installing patch-2.5.9.p2

2012-01-19 Thread Sean McDuffee
Hi, Trying to build sage on an Intel x86_64 4 core cpu based computer running Fedora 14. GCC version 4.5.1. It bombs on the following: gcc -o patch -g -O2 addext.o argmatch.o backupfile.o basename.o dirname.o getopt.o getopt1.o inp.o maketime.o partime.o patch.o pch.o quote.o quotearg.o quote