[sage-support] Re: group cohomology for two particular groups

2009-04-08 Thread David Joyner
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, \n 2, 2, 2 ]' This is in 3.4 immediately after loading gap_packages 4.4.12 from the internet. On Wed, Apr 8, 2009 at 4:58 PM, wrote: > > Hi David, > > On 8 Apr., 16:33, David Joyner wrote: >> > and the current version o

[sage-support] Re: adoption of Django debug reporting [feature request]

2009-04-09 Thread David Joyner
My first question is, can you implement this yourself (assuming you have django installed along with sage)? On Thu, Apr 9, 2009 at 6:55 AM, Flavio Coelho wrote: > > Hi, > > I have a feature request for Sage Notebook interface: > > It is the adoption of the debugging capabilities present in the

[sage-support] Re: adoption of Django debug reporting [feature request]

2009-04-09 Thread David Joyner
t Sage to return a link which you click on to get more information on the error. Also, the way that webpage is generated is to use code adapted from django. > > On 9 abr, 12:17, David Joyner wrote: >> My first question is, can you implement this yourself >> (assuming you have django

[sage-support] Re: Integrate piecewise linear function. -Data points

2009-04-09 Thread David Joyner
Iif your points are (x_0,y_0), (x_1,y_1),...,(x_n,y_n), don't you just take the sum of the (x_{i+1}-x_i)*(y_{y+1}-y_i)/2 ? That's a one-liner. sage: pts = [ (0, 0), (1, 3), (2, 8)] sage: area = sum([(pts[i+1][0]-pts[i][0])*(pts[i+1][1]-pts[i][1])/2 for i in range(2)]) sage: area 4 On Thu, Apr 9

[sage-support] Re: Licensing and copyright of sage contributions

2009-04-13 Thread David Joyner
On Mon, Apr 13, 2009 at 8:05 PM, Rolando wrote: > > Could you please explain why the license should be GPL and the code > should be copyrighted? Any tangable "creative work" is copyrighted by its author in all countries which obey the Berne convention. In the US you can revoke copyright by stat

[sage-support] Re: Conjugacy classes in groups

2009-04-15 Thread David Joyner
On Wed, Apr 15, 2009 at 10:21 AM, javier wrote: > > Hi there, > > just started using SAGE for some research related stuff a couple of > weeks ago. Is there a way to get the conjugacy classes of a group, in > the same way as GAP does? I don't quite mean neither > "conjugacy_classes_subgroups" (whi

[sage-support] Re: Conjugacy classes in groups

2009-04-15 Thread David Joyner
On Wed, Apr 15, 2009 at 10:54 AM, javier wrote: > > On Apr 15, 3:26 pm, David Joyner wrote: >> I'm not sure what you mean by better way. Is this what you want? >> >> sage: G = AlternatingGroup(5) >> sage: g = G.random_element() >> sage: CCg = Set([x*

[sage-support] Re: Conjugacy classes in groups

2009-04-15 Thread David Joyner
On Wed, Apr 15, 2009 at 2:36 PM, Robert Bradshaw wrote: > sage: G = AlternatingGroup(5) sage: g = G.random_element() sage: CCg = Set([x*g*x^(-1) for x in G]) >>> >>> Thanks for your answer, >>> >>> I was thinking more about getting all the conjugacy classes in a list >>> (or

[sage-support] Re: sage tutorial on amazon

2009-04-15 Thread David Joyner
because I like mountains and gray:-) On Wed, Apr 8, 2009 at 4:29 PM, David Joyner wrote: > Thank you again, I didn't notice that! > > I just finished uploading new files. We will see what the program > says this time in a day or 2 > > > On Wed, Apr 8, 2009 at 1:07

[sage-support] Re: sage tutorial on amazon

2009-04-16 Thread David Joyner
On Thu, Apr 16, 2009 at 1:05 AM, William Stein wrote: > > On Wed, Apr 15, 2009 at 2:17 PM, David Joyner wrote: >> ... >> > > Maybe I'm being dumb, but it seems like you haven't provided a link > anywhere in this email or in the emails quoted below to th

[sage-support] Re: Just integral

2009-04-18 Thread David Joyner
On Fri, Apr 17, 2009 at 11:04 PM, kcrisman wrote: > > I think the original poster is asking if it's possible to have Sage do > something like this: > > sage: a=unevaluated_integral(x^2,(x,0,1)) > sage: a > integral(x^2,(x,0,1)) > sage: a.evaluate() > 1/3 > > But I don't think anything like this i

[sage-support] Re: Dirichlet L-function

2009-04-25 Thread David Joyner
After you type lcalc.twist_values? and look at the examples given, can you tell which command does not work, what operating machine you are using and version of sage you are running? On Sat, Apr 25, 2009 at 9:20 AM, agi wrote: > > Is there a way to compute Dirichlet L-functions > http://en.wiki

[sage-support] Re: sage tutorial on amazon

2009-04-27 Thread David Joyner
Finally this is on the amazon site: http://www.amazon.com/Sage-tutorial-version-3-4-Group/dp/1442141948/ref=sr_1_2?ie=UTF8&s=books&qid=1240843883&sr=8-2 Hope this link comes out okay via email. On Thu, Apr 2, 2009 at 10:37 AM, David Joyner wrote: > Hi: > > The Sage tutori

[sage-support] Re: sage tutorial on amazon

2009-04-27 Thread David Joyner
On Mon, Apr 27, 2009 at 11:12 AM, William Stein wrote: > > On Mon, Apr 27, 2009 at 8:04 AM, David Joyner wrote: >> >> Finally this is on the amazon site: >> >> http://www.amazon.com/Sage-tutorial-version-3-4-Group/dp/1442141948/ref=sr_1_2?ie=UTF8&s=books&

[sage-support] Re: substituting initial condition into ODE

2009-04-28 Thread David Joyner
I don't know if you are asking about how to use ICs in desolve or if you are asking about how to do substitutions. Anyway, I get this: sage: y=function('y',x) sage: desolve(diff(y,x)+sin(x)*y^6==0,y) 1/(5*y(x)^5) == c - cos(x) sage: desolve(diff(y,x)+sin(x)*y^6==0,y,[pi,9]) 1/(5*y(x)^5) == (-295

[sage-support] Re: substituting initial condition into ODE

2009-04-28 Thread David Joyner
gt; 3. find c > 4. use this c in general solution > > I agree that this may be strange to do this in the case, we have a > command for solving IVP. > I just wanted to know, if it is possible to substitute some value for y > (x), if y(x) is declared as a function. > > Thanks.

[sage-support] sage -optional bug?

2009-04-29 Thread David Joyner
xact number of standard packages and optional packages for this talk I'm giving in RI in 2 days. - David Joyner --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-

[sage-support] Re: sage -optional bug?

2009-04-29 Thread David Joyner
On Wed, Apr 29, 2009 at 8:17 AM, wrote: > > Hi David, > > On Apr 29, 2:01 pm, mabshoff dortmund.de> wrote: ... >> [Errno 13] Permission denied: '/usr/lib/sagemath/tmp/list' > > Well, you need write permission to install optional spkgs. The error > message is less than elegant in this case. >

[sage-support] Re: Is there anyway in SAGE to calculate the integral of bessel function?

2009-05-04 Thread David Joyner
Maybe you want the following? sage: from scipy import special sage: RealNumber=float sage: special.iti0k0(1.0)[0] 1.0865210970235892 See the thread http://groups.google.com/group/sage-support/browse_thread/thread/e344c0ccd32016f7 for more details. On Mon, May 4, 2009 at 3:36 AM, liji.ma...@g

[sage-support] Re: Convert a string (python) into a function (sage)

2009-05-09 Thread David Joyner
On Sat, May 9, 2009 at 7:12 AM, Laurent Claessens wrote: > > I half-answer to myself : > > >> 1. be able to convert a string into a function on which I can use Sage > > s = "x**3" > var('x') > f = eval(s) > print f(3) > > makes the job > >> 2. from the results of Sage (especially from diff(f,x)),

[sage-support] Re: Convert a string (python) into a function (sage)

2009-05-09 Thread David Joyner
Maybe this then? sage: from sympy import * sage: Symbol("x") x sage: f = 3*x^2 sage: str(f.as_basic()) '3*x**2' On Sat, May 9, 2009 at 7:56 AM, Laurent wrote: > > >> >> sage: str(latex(g)) >> '{3 {x}^{2} }' >> >> what you want? >> > I would prefer 3*(x**2) > {3 {x}^{2} } > is not a valid pstr

[sage-support] Re: documentation issues

2009-05-12 Thread David Joyner
Though outdated, you could try installing extradocs and see if that works: http://www.sagemath.org/packages/optional/ On Tue, May 12, 2009 at 6:14 AM, Stan Schymanski wrote: > > Dear all, > > I was very happy to see that the new documentation system had a search > function, but for some reason i

[sage-support] Re: Sage inside Alfresco

2009-05-12 Thread David Joyner
Could please explain your idea more clearly? Based only on http://en.wikipedia.org/wiki/Alfresco_(software), I'm not sure that you mean by "using Sage within ...". On Tue, May 12, 2009 at 10:56 AM, kilucas wrote: > > Does anyone know where I might find any guidance on using Sage within > Alfres

[sage-support] Re: Sage inside MediaWiki

2009-05-12 Thread David Joyner
Could you give an example of what you mean? For instance, you are typing in a wiki and maybe you want it to call Sage and execute some Sage commands in the wiki code? On Tue, May 12, 2009 at 10:55 AM, kilucas wrote: > > Does anyone know where I might find any guidance on using Sage within > a M

[sage-support] Re: "Usage Styles" and using scipy

2009-05-12 Thread David Joyner
On Tue, May 12, 2009 at 10:56 AM, Marky Marc wrote: > > Hi, > I'm brand new to sage and have just read "Sage for Newbies". Thanks > Ted kosan for that. I have several questions. > > Immediately I wanted to do some work with sage and am loath to just do > maths without documenting things as I go.

[sage-support] Re: characters of the symmetric group

2009-05-12 Thread David Joyner
On Tue, May 12, 2009 at 6:43 PM, amps wrote: > > I see that there is a function to compute the character table of the > symmetric group, but is there one where you input two partitions and > it outputs the value of the character indexed by the first partition > evaluated at the second?  I have be

[sage-support] Re: characters of the symmetric group

2009-05-13 Thread David Joyner
On Wed, May 13, 2009 at 10:33 AM, Jason Bandlow wrote: > > David Joyner wrote: >> On Tue, May 12, 2009 at 6:43 PM, amps wrote: >>> I see that there is a function to compute the character table of the >>> symmetric group, but is there one where you input two par

[sage-support] Re: How would I list just the 3 cycles in AlternatingGroup()

2009-05-14 Thread David Joyner
I must be missing something. Why can't you just check the order of the element? On Thu, May 14, 2009 at 7:53 PM, jimfar wrote: > > I can generate a list from any given group, but how would I go about > generating a list of just 3 or 5 cycles? > > > > --~--~-~--~~~--

[sage-support] Re: How would I list just the 3 cycles in AlternatingGroup()

2009-05-14 Thread David Joyner
something like AlternatingGroup(5) > where the list will not go on for too long. > > On May 14, 5:04 pm, David Joyner wrote: >> I must be missing something. Why can't you just check the order of the >> element? >> >> On Thu, May 14, 2009 at 7:53 PM, jimfar wrote

[sage-support] Re: How would I list just the 3 cycles in AlternatingGroup()

2009-05-15 Thread David Joyner
On Fri, May 15, 2009 at 2:36 AM, wrote: > > Dear Jim, > > On May 15, 4:03 am, jimfar wrote: >> Thanks, I was confusing myself with the definition of the order of an >> element with order of the cycle. > > Are you really confusing it? > > As much as I understood, you only want those elements tha

[sage-support] Re: Composite sorting

2009-05-16 Thread David Joyner
On Sat, May 16, 2009 at 4:10 PM, Stochastix wrote: > > I have a list of 2-vectors > > (a1,a2), (b1,b2) , ... > > I want to sort the vectors according to the following rule > > (a1,a2) < (b1,b2) iff a1+b2 < a2+b1 > > > Is there a way to do that using the "sort" function ? Yes and I think this is

[sage-support] Re: unsubscribe

2009-05-18 Thread David Joyner
done On Sat, May 16, 2009 at 10:01 PM, tony glaser wrote: > Unsubscribe > > Unsubscribe address not working. Please remove me. > > Tony Glaser > 613.808.8413 > www.technicallytony.com > > --- On Sat, 5/16/09, Paul Sargent wrote: > > From: Paul Sargent > Subject: [sage-support] Re: Downloading

[sage-support] Re: Converting matrix groups into permutation groups

2009-05-19 Thread David Joyner
1. you can coerce the coefficients to GF(3) 2. You can try G1 = gap(G) and G2 = gap(SymmetricGroup(4)) and G1.IsomorphismGroups(G2): sage: s1 = [-1, 0, 0] sage: s1 = matrix([[-1, 0, 0], [1, 1, 0], [0, 0, 1]]) sage: s2 = matrix([[1, 1, 0], [0, -1, 0], [0, 1, 1]]) sage: s3 = matrix(

[sage-support] Re: Converting matrix groups into permutation groups

2009-05-19 Thread David Joyner
On Tue, May 19, 2009 at 1:36 PM, javier wrote: > > Hi David > > On May 19, 5:51 pm, David Joyner wrote: >> 1. you can coerce the coefficients to GF(3) > > Can I? The generators are still distinct in GF(3), but I might lose > elements when I take products (maybe not

[sage-support] Re: Citing Sage

2009-05-20 Thread David Joyner
Also, can you eventually send a citation for your thesis to this list (or the webmaster "Harald Schilly" ) for publication on http://www.sagemath.org/library/publications.html, please? On Wed, May 20, 2009 at 11:36 AM, avra wrote: > > Hi Everyone, > > I emailed William asking him the following q

[sage-support] odd print behavior?

2009-05-20 Thread David Joyner
Hi: Is this a feature or a bug? Attach a file containing: def print_function(yy,xx): print yy,xx Now run this: sage: x = var('x') sage: y = function('y', x) sage: print_function(x,y) x In other words, y is not prin

[sage-support] Re: unable to get SAGE working on my debian lenny machine ...

2009-05-27 Thread David Joyner
On Wed, May 27, 2009 at 9:17 AM, Kim, In-Jae wrote: > > Can I get some help on this memory issue in Ubuntu to download sage 3.4.2? > I am a beginner of Linux/Ubuntu, and have no idea where I should look at. Maybe you can google "resizing partitions in ubuntu" (without the quotes) to get an idea

[sage-support] Re: Can I write a sage program and run it from command line?

2009-05-29 Thread David Joyner
You might be looking for the attach command: http://www.sagemath.org/doc/tutorial/programming.html On Thu, May 28, 2009 at 6:50 PM, Kurda Yon wrote: > > Hi all, > > is it possible to write a file with a "sage program" (a set of sage > command) and then execute the program? > > I tried to write

[sage-support] Re: Difference equations?

2009-05-30 Thread David Joyner
On Sat, May 30, 2009 at 10:50 PM, Alasdair wrote: > > You use solve_rec like this: > > maxima.load('solve_rec') > maxima('solve_rec(f[n+2]-3*f[n+1]+2*f[n]=2^n,f[n],f[0]=1,f[1]=0)') > Also, see http://maxima.sourceforge.net/docs/tutorial/en/gaertner-tutorial-revision/Pages/DiffEq0001.htm This mig

[sage-support] Re: Creating a polynomial with symbolic coefficients

2009-06-03 Thread David Joyner
I'm not sure if this helps, but you can create a polynomial of the type you want a bit simpler: sage: var("x,y") (x, y) sage: Inds = CartesianProduct(range(5), range(4)) sage: sum([var("a"+str(i)+str(j))*x^i*y^j for i,j in Inds]) a43*x^4*y^3 + a33*x^3*y^3 + a42*x^4*y^2 + a23*x^2*y^3 + a32*x^3*y^2

[sage-support] Re: Creating a polynomial with symbolic coefficients

2009-06-03 Thread David Joyner
On Wed, Jun 3, 2009 at 4:38 PM, John H Palmieri wrote: > > On Jun 3, 12:16 pm, Jason Grout wrote: >> What about having a "experiment mode" in Sage that turns on things like >> this?  Some variable in some module somewhere that people can set to >> switch on some experimental behavior so they can

[sage-support] Re: Creating a polynomial with symbolic coefficients

2009-06-03 Thread David Joyner
On Wed, Jun 3, 2009 at 5:54 PM, James Parson wrote: > > Thanks to David Joyner for his response to my original question. His > method worked nicely. Incidentally, here is the original Maple code > from the lecture of Doron Zeilberger that I was trying to translate > into Sage:

[sage-support] Re: Creating a polynomial with symbolic coefficients

2009-06-03 Thread David Joyner
On Wed, Jun 3, 2009 at 9:20 PM, James Parson wrote: > >> > Here is a variant on the original question: suppose I wanted to write >> > a line that creates a polynomial ring whose variables are a_{ij} for i >> > +j<=d. How should I do it? I might want to set this up, for example, >> >> sage: Inds =

[sage-support] Fwd: SAGE and PARI's Galois fields database

2009-06-04 Thread David Joyner
I'm forwarding this email from Michael Somos to sage-support. The items about the Galois fields database being broken are in the 4.0.1.a0 version of the installation manual. Can anyone on this list determine if a track ticket should be opened for this issue? -- Forwarded message ---

[sage-support] Re: Dimensional Analysis or Unit Conversion capability?

2009-06-12 Thread David Joyner
On Fri, Jun 12, 2009 at 5:27 AM, Maurizio wrote: > ... > > All the other people involved, and interested in a unit package, > please show just to say "hi" I'm interested in something for teaching (so very basic is sufficient) say calculus /ODEs (eg, using DEs to solve a circuit or spring probl

[sage-support] Re: Optimization Resources

2009-06-12 Thread David Joyner
On Fri, Jun 12, 2009 at 9:33 AM, evlu...@gmail.com wrote: > > I'm working on some code that is very computationally intensive. I'm > pretty sure my algorithm is good, but I know that tiny differences in > wording in sage can make a huge runtime difference. Is there any site/ > blog/whatever that I

[sage-support] Re: Dimensional Analysis or Unit Conversion capability?

2009-06-14 Thread David Joyner
Maurizio: I'm not sure when you created http://wiki.sagemath.org/Unit%20of%20Measurement but a "secret question" has been added to the wiki which you have to answer for each edit. The answer to the question is (hopefully) pretty obvious. I think the question appears near the top of the page after

[sage-support] Re: Dimensional Analysis or Unit Conversion capability?

2009-06-14 Thread David Joyner
On Sun, Jun 14, 2009 at 5:01 PM, William Stein wrote: > > On Sun, Jun 14, 2009 at 6:56 PM, Maurizio wrote: >> ... >> Anyway, I updated the wiki page since I successfully installed Unum in >> SAGE. You can see the (pretty encouraging) results there: >> >> http://wiki.sagemath.org/Unit%20of%20Meas

[sage-support] Re: factor

2009-06-16 Thread David Joyner
Is this what you mean? sage: R. = PolynomialRing(ZZ,"x") sage: f = 2*x**2-x sage: f.factor() x * (2*x - 1) On Tue, Jun 16, 2009 at 11:12 AM, Mikie wrote: > > When I use Sage to factor lets say 2*x**2-x it factors the  2 out and > leaves a fraction in the expression.  I would like to have it no

[sage-support] Re: API up

2009-06-18 Thread David Joyner
Cool! On Thu, Jun 18, 2009 at 12:46 PM, Mikie wrote: > > I have my API running on a host.  Not real pretty yet, but it seems to > work. > Please, test. > http://pirsqrt.com:7316 > Thanx > > > --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@

[sage-support] Re: API up

2009-06-18 Thread David Joyner
On Thu, Jun 18, 2009 at 2:38 PM, Mikie wrote: > > How fast was it and did it work with IE8? It was fast for me but sorry, I don't use windows. > > On Jun 18, 11:37 am, David Joyner wrote: >> Cool! >> >> >> >> On Thu, Jun 18, 2009 at 12:46 PM,

[sage-support] Re: coding theory minimum distance -1

2009-06-22 Thread David Joyner
Can you tell me what version you are using? In version 4.0.2.rc3, I get sage: C=LinearCode(Matrix(GF(2),[1,0,1,1,0,1])) sage: C Linear code of length 6, dimension 1 over Finite Field of size 2 sage: C.minimum_distance() 4 On Mon, Jun 22, 2009 at 6:27 PM, Rado wrote: > > I noticed that the min

[sage-support] Re: Sage computes Jacobi sums incorrectly

2009-06-24 Thread David Joyner
An easy fix: In the code change # If exactly one is trivial, return 0 else: return 0 to # If exactly one is trivial, return -1 else: return -1 (Some docstrings need changing too.) At first I thought it should be 0 in this case because I

[sage-support] Re: Sage computes Jacobi sums incorrectly

2009-06-24 Thread David Joyner
On Wed, Jun 24, 2009 at 9:15 AM, rje wrote: > > > > On Jun 24, 4:35 am, David Joyner wrote: > ... > >> At first I thought it should be 0 in this case because I >> confused "trivial character" with "identically equal to 1". > > That makes

[sage-support] Re: How to construct piecewise in order to manipulate them?

2009-06-25 Thread David Joyner
I know multiplication is very finicky. You might try using R. = PolynomialRing(RR, "t") instead, but I'm not sure that will work either. Can you post more of your code so I can give a more detailed answer? On Thu, Jun 25, 2009 at 2:17 PM, David Sevilla wrote: > > Hi, > > I am trying to construct

[sage-support] Re: How to construct piecewise in order to manipulate them?

2009-06-26 Thread David Joyner
you wanted, but of you can modify the code to give you what you want. On Fri, Jun 26, 2009 at 3:50 AM, David Sevilla wrote: > > Hi, > > On Jun 25, 9:12 pm, David Joyner wrote: >> I know multiplication is very finicky. You might try using >> R. = PolynomialRing(RR, "t&quo

[sage-support] Re: inverse_laplace() function: how does it work?

2009-06-30 Thread David Joyner
On Tue, Jun 30, 2009 at 4:26 PM, Fausto Arinos Barbuto wrote: > > > Hi all, > > I'm afraid this question has already appeared in this forum, but here it goes > again. > > I'm curious about why the inverse_laplace() function can't successfully > invert some > well-known, nevertheless rather simpl

[sage-support] Re: A little question about mod in function definition

2009-07-01 Thread David Joyner
On Wed, Jul 1, 2009 at 4:43 AM, Alasdair wrote: > > Of these two examples: > > m(x)=mod(x,10) > > m=lambda x:mod(x,10) > > The first returns an error "unable to convert x (=x) to an integer". > Can anyone explain what's going on here? I think the first tries to use Sage's symbolic expression mach

[sage-support] Re: a question about the plotting in sage

2009-07-03 Thread David Joyner
Maybe list_plot3d is what you want? Type "list_plot3d?" (without the quotes) at the prompt to see examples. On Fri, Jul 3, 2009 at 6:03 AM, wxuyec wrote: > > I have some data from finite element calculating. I record > the value of a variable at every node of each element. > and I had plotted in

[sage-support] Re: complex logs

2009-07-06 Thread David Joyner
On Mon, Jul 6, 2009 at 12:25 PM, mac8090 wrote: > > when I try to take logarithms of a complex number sage version 3.5 > doesn't like it. How do I find/use a multiplication preserving > embedding to make it work? I don't understand the question. In the latest version you get this: sage: a = 1 +

[sage-support] Re: Regarding Solving matrix equations.

2009-07-10 Thread David Joyner
On Fri, Jul 10, 2009 at 2:05 PM, vaiby wrote: > > Hi. > > I have 2x2 matrices x, y, z  whose entries are polynomials in 3 > variables. > [In fact each matrix involves only one variable, and its terms are > linear over complex numbers in that variable]. > I want to solve a equation like : x*y*z ==

[sage-support] Re: install R packages

2009-07-14 Thread David Joyner
On Tue, Jul 14, 2009 at 6:20 AM, Minh Nguyen wrote: > > Hi Aleksey, > ... > > Not at all; you're not doing anything wrong. This is a known error; > see ticket #6379 at > > http://www.sagetrac.org/sage_trac/ticket/6379 > > which already has a patch and positive review. But after applying that > p

[sage-support] Re: install R packages

2009-07-14 Thread David Joyner
On Tue, Jul 14, 2009 at 7:02 AM, Minh Nguyen wrote: > > Hi David, > > On Tue, Jul 14, 2009 at 9:00 PM, David Joyner wrote: > > > >> I'm no expert on R by any means but if I'm understanding this thread, >> and your (Minh's) comments on #6379 correct

[sage-support] Re: primitive k-th root of unity

2009-07-14 Thread David Joyner
On Tue, Jul 14, 2009 at 6:37 AM, mac8090 wrote: > > > For a given k, is it possible to instantly get an k-th root of unity > in sage without making extra fields, or by using e^(2*pi*I/k)? I'm a bit confused by your question. If you mean k-th roots of unity in the complex field CC then sage: z =

[sage-support] Re: query

2009-07-15 Thread David Joyner
I don't think this is implemented yet in Sage. On Wed, Jul 15, 2009 at 8:55 AM, arun Muktibodh wrote: > I want to test the limits order of nilpotency class of certain infinite > groups. How should I go about it? Please help. > Thanking you in advance. > Arun > India > > -- > Arun Muktibodh > > >

[sage-support] Re: solve() not finding all roots

2009-07-16 Thread David Joyner
Does this help any? sage: R = PolynomialRing(QQ, 2, 'x1,x2', order='lp') sage: x1,x2 = R.gens() sage: f1 = 1/2*((x1^2 + 2*x1 - 4)*x2^2 + 2*(x1^2 + x1)*x2 + x1^2) sage: f2 = 1/2*((x1^2 + 2*x1 + 1)*x2^2 + 2*(x1^2 + x1)*x2 - 4*x1^2) sage: I = (f1,f2)*R; I Ideal (1/2*x1^2*x2^2 + x1^2*x2 + 1/2*x1^2 +

[sage-support] Re: Problem with show

2009-07-17 Thread David Joyner
In ubuntu sage: t,s=var('t,s') sage: show(laplace(exp(-3*t),t,s)) works. It opens kdvi. However, I do get this gobble-de-gook in the terminal as well: kfmclient(4002) ClientApp::doIt: Creating ClientApp (4004)/ ClientApp::doIt: Creating ClientApp kioclient(4004) ClientApp::kde_open: KUrl("file:

[sage-support] Re: Problem with show

2009-07-19 Thread David Joyner
App::doIt: Creating ClientApp > kdeinit4: preparing to launch /opt/kde3/bin/kdvi > sage: kbuildsycoca running... > QApplication::notify: Unexpected null receiver > > > I wonder whether David Joyner (see his response above in this thread) > was running sage 4.1 when he tried

[sage-support] Re: Piecewise function definition

2009-07-21 Thread David Joyner
On Tue, Jul 21, 2009 at 5:35 PM, Doug wrote: > >> Are you aware of the function piecewise(), which seems to do what you >> want? If there is a problem with using it, what is it? > > I wasn't aware of piecewise(), and although it doesn't seem as elegant > or flexible as being able to use Indicator

[sage-support] Re: Piecewise function definition

2009-07-21 Thread David Joyner
On Tue, Jul 21, 2009 at 6:08 PM, Doug wrote: > >> Piecewise functions of 2 variables are not yet implemented. >> Sorry. > > Ah, I see. If there was were primitive functions for LessThan(x,y), > Equal(x,y), and GreaterThan(x,y), and they returned 0 or 1, I think > that's all I would need: > > f(x,

[sage-support] Re: [sage-edu] Re: Black body graph is sage with interact

2009-07-30 Thread David Joyner
On Wed, Jul 29, 2009 at 11:27 PM, Minh Nguyen wrote: > > Hi Offray, > > On Thu, Jul 30, 2009 at 8:23 AM, Offray Vladimir Luna > Cárdenas wrote: >> >> Hi, >> >> Two students are interested in making the graph of the black body[1][2] >> with Sage and making it interactive in the web. [2] contains, a

[sage-support] Re: Unsubscribe from Sage-Support

2009-07-30 Thread David Joyner
Read the bottom of the email you just posted (or any other email posted to the group). It says: "To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com" On Thu, Jul 30, 2009 at 3:11 PM, Craig Pellegrini wrote: > > Hi, > > How can I unsubscribe from sage-support?

[sage-support] Re: 2d plot

2009-07-30 Thread David Joyner
I don't understand the question. Do you want a contour plot? An implicit plot? On Thu, Jul 30, 2009 at 11:30 AM, surfer wrote: >> sage: density_plot(f, (0,1), (0,1)) > >> looks like an adequate visualization in 2d. > > thanks it looks pretty, but i would like to have a curve. > > > > > > --~--~

[sage-support] Re: 2d plot

2009-07-30 Thread David Joyner
I think this is with y = 1/4: sage: h = Piecewise([[(0,1/4),3*x/4],[(1/4,1),(1-x)/4]]) sage: h.plot() On Thu, Jul 30, 2009 at 4:45 PM, surfer wrote: > sorry, I would like to obtain the curve for fixed x in (0,1). (or for fixed > y in (0,1)). > > > > --~--~-~--~~~---

[sage-support] Re: http://osx.iusethis.com/app/sage

2009-08-08 Thread David Joyner
Done. BTW, I noticed that the download link sends one to a page for a mac binary but there is no binary on that page, only a README.txt file. Is that intentional? On Sat, Aug 8, 2009 at 1:41 AM, William Stein wrote: > Hi, > > If you're an OS X user of Sage, and want to spend a few seconds doing

[sage-support] Re: http://osx.iusethis.com/app/sage

2009-08-10 Thread David Joyner
ppc binaries. > redesigned it a little bit and introduced a footer to that page. Font > is bigger, too. > > H > > > On Aug 8, 3:48 pm, David Joyner wrote: >> Done. >> >> BTW, I noticed that the download link sends one to a page >> for a mac bina

[sage-support] Re: http://osx.iusethis.com/app/sage

2009-08-10 Thread David Joyner
On Mon, Aug 10, 2009 at 8:34 AM, Minh Nguyen wrote: > > Hi David, > > On Mon, Aug 10, 2009 at 10:29 PM, David Joyner wrote: >> >> On Mon, Aug 10, 2009 at 7:56 AM, Harald Schilly >> wrote: >>> >>> i would like to know what was the reason why you mis

[sage-support] Re: A problem of memory

2009-08-11 Thread David Joyner
One option is to try to use the ode.pyx wrapper to the gsl library http://hg.sagemath.org/sage-main/file/285a89ed5dc7/sage/gsl/ode.pyx#l1 Another is to try to precompute the hessian and pass it into your program as an argument. This way your program does not call maxima (assuming that is the cause

[sage-support] Re: A problem of memory

2009-08-11 Thread David Joyner
_trac/ticket/371 > > On 11 août, 16:04, David Joyner wrote: >> One option is to try to use the ode.pyx wrapper to the gsl >> libraryhttp://hg.sagemath.org/sage-main/file/285a89ed5dc7/sage/gsl/ode.pyx#l1 >> Another is to try to precompute the hessian and pass it into your

[sage-support] Re: Factoring in a polynomial ring over a polynomial ring or fraction field

2009-08-13 Thread David Joyner
On Thu, Aug 13, 2009 at 1:26 PM, Simon King wrote: > > Hi sage-supporters! > > I think Jeff's question below deserves an answer (and I don't know an > answer myself). > > Since it is still without a reply and disappeared from the screen, I > thought I bring it up again. I hope you don't mind. Tha

[sage-support] Re: sage server setup support sought

2009-08-16 Thread David Joyner
The answer really depends on if your server is on an intranet LAN (inaccessible from the rest of the world) or on a (public) internet web server. In the former case, the answer is very easy and even I can answer your question! On Sun, Aug 16, 2009 at 9:49 AM, John Cremona wrote: > > In the docst

[sage-support] Re: Solution

2009-08-20 Thread David Joyner
Perhaps you could convert this into a system of linear equations then use the solve command? On Thu, Aug 20, 2009 at 2:39 PM, Santanu Sarkar wrote: > Hi, >  How  can  I find the solution x1,...,z3 in SAGE   where > A= [x1,x2,x3, >   y1,y2,y3, >    z1,z2,z3]  is a (3,3) matrix which satisf

[sage-support] Re: Attach

2009-08-23 Thread David Joyner
This was asked and discussed in a thread called "[sage-support] Using Sage on Windows" back in October 2008. You can search the archives for it. Hope that helps. On Sun, Aug 23, 2009 at 5:47 AM, EHF wrote: > > Hi > I can't attach file in vmware sage under windows, help me. > thanx > > > > --~--

[sage-support] Re: using minimize_constrained

2009-08-23 Thread David Joyner
On Sun, Aug 23, 2009 at 7:23 PM, Simon King wrote: > ... > But, alas, sage.numerical.optimize.minimize_constrained fails to work > if f is defined like this. > > Possible, but not nice, seems >  sage: f = x*y >  sage: a = sage.numerical.optimize.minimize_constrained(f,[(1,10), > (1,10)],(5,5)) >

[sage-support] Differential Calculus and Sage

2009-08-28 Thread David Joyner
Hi: There is a fairly polished book on differential calculus and Sage now available at amazon.com http://www.amazon.com/gp/product/1448662192/ref=pe_5050_12929060_snp_dp (Hope that url works for others - if not just search amazon for the title.) All royalties go directly to the Sage Foundation. H

[sage-support] Re: Differential Calculus and Sage

2009-08-28 Thread David Joyner
On Fri, Aug 28, 2009 at 2:32 PM, Minh Nguyen wrote: > > Hi David, > ... > > Your book has been added to the publications page. Please see > > http://www.sagemath.org/library/publications.html > > under the section "Books mentioning Sage". Thanks! Can it also be added to http://www.sagemath.org

[sage-support] Re: English grammar of numbers

2009-08-29 Thread David Joyner
On Sat, Aug 29, 2009 at 7:46 AM, Simon King wrote: > > Hi Minh, > > On Aug 29, 12:32 pm, Minh Nguyen wrote: >> On Sat, Aug 29, 2009 at 9:30 PM, Minh Nguyen wrote: > [...] >> And we do this: "a one" not "an one", even though "one" starts with a vowel. > > Ah, that confirms my feeling towards "an o

[sage-support] Re: English grammar of numbers

2009-08-29 Thread David Joyner
On Sat, Aug 29, 2009 at 8:11 AM, wrote: > ... > For numbers, it could be problematic for those starting with 1: > a 1, an 11 (an eleven), a 111 (a one hundred ... ), a (a one > thousand ...), an 1 (an eleven thousand ...). You're right, I hadn't thought of that case. There is also "a

[sage-support] Re: please, help on installation

2009-09-01 Thread David Joyner
On Tue, Sep 1, 2009 at 3:18 PM, Afonso Henriques Silva Leite wrote: > > I downloaded sage-4.1.1-linux-Ubuntu_9.04-i686-Linux.tar.gz to my > desktop and untar it there. My experience with linux is a little > limited. ... > I need a lot more information than these read me files... > Can you compi

[sage-support] Re: Doctesting in parallel

2009-09-07 Thread David Joyner
On Sat, Sep 5, 2009 at 1:40 AM, Minh Nguyen wrote: > > Hi kcrisman, > > On Sat, Sep 5, 2009 at 2:24 AM, kcrisman wrote: > > > >> works fine.  What am I doing wrong?  And can someone add documentation >> about the exact syntax, if not? > > I have written some documentation at > > http://mvngu.word

[sage-support] Re: Lie Theory

2009-09-16 Thread David Joyner
On Wed, Sep 16, 2009 at 4:50 PM, Kjetil Halvorsen wrote: > > Hola! > > ¿Is there something in Sage for Lie groups and algebras? There is the GAP stuff, lots of native stuff (use the search bar on the main Sage webpage), and lie is an optional package. What is it that you want? > > Kjetil > > >

[sage-support] [Fwd: [sage-forum] %sh, %latex not working with Opera 9.02]

2006-10-13 Thread David Joyner
Forwarded to the support list, since it seems to be a bug report. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://

[sage-support] Re: [sage-forum] Strang result when multiplying the integral of a Maxima defined function by itself

2006-10-15 Thread David Joyner
Thanks. I consider this a bug though it might be more precisely described as an unimplemented feature (I'm guessing that there is no __mul__ method in the appropriate class). Until it gets fixed, here is a workaround: sage: f = maxima.function('x', 'sin(x)') sage: g = f.integrate("x") sage: h = m

[sage-support] Re: [SAGEsupport] Failed Tests

2006-10-16 Thread David Joyner
Thanks for the bug report. However, [EMAIL PROTECTED] is closed down so I'm sending this to the new bug list sage-support@googlegroups.com (likewise, [EMAIL PROTECTED]>sage-forum@googlegroups.com [EMAIL PROTECTED]>sage-devel@googlegroups.com). I signed you up to sage-support. There should instruct

[sage-support] Re: adventures in group theory

2006-10-20 Thread David Joyner
1. The group theory commands are described in http://sage.scipy.org/sage/doc/html/ref/node156.html (the reference manual under "Groups") http://sage.scipy.org/sage/doc/html/const/node5.html (the "How to ..." under "Groups") http://sage.scipy.org/sage/doc/html/tut/node4.html#SECTION0045

[sage-support] Re: dual abelian group

2006-10-22 Thread David Joyner
This is "fixed" now. Also I added a lot of new functions (mostly requested by Kiran but also Suzuki groups and a few others) to permgroup.py and started a new module cubegroup.py for dealing with the Rubik's cube group. I say "fixed" because I failed to find an elegant solution. It seems most rea

[sage-support] sage -testall hangs?

2006-10-24 Thread David Joyner
Hi: This is on a suse 10.0 amd64 box. sage -testall seems to hang at prog.tex. Am I being impatient (it's been over an hour) or is it really stuck somewhere? - David Joyner [EMAIL PROTECTED]:~/sagefiles/sage-1.4.1.2> ./sage -testall Testing SAGE documentation Testing SAGE tutorial

[sage-support] importing Numeric

2006-10-27 Thread David Joyner
Hello all: I'm trying to import Numeric to fix the eigenvalues bug for real and complex matrices. The following function should do it but it has problems I think with the eigenvalues line. Am I importing something wrong? - David Joyner ++ def numeric_eigenval

[sage-support] Re: importing Numeric

2006-10-27 Thread David Joyner
David Harvey wrote: > On Oct 27, 2006, at 7:43 AM, David Joyner wrote: > > >> Hello all: >> >> I'm trying to import Numeric to fix the eigenvalues bug for real >> and complex >> matrices. The following function should do it but it has problems I

[sage-support] Re: importing Numeric

2006-10-27 Thread David Joyner
es(AN) return list(lambdas) David Joyner wrote: > Hello all: > > I'm trying to import Numeric to fix the eigenvalues bug for real and complex > matrices. The following function should do it but it has problems I > think with the > eigenvalues lin

<    1   2   3   4   5   6   7   8   9   10   >