[sage-support] bug in maxima.eval? meval?

2008-04-23 Thread David Joyner
/sage-main/file/667bc05730be/sage/functions/special.py I wonder if it is misbehaving somehow. I'm happy to report it to trac but don't know how to classify the problem. - David Joyner --~--~-~--~~~---~--~~ To post to this group, send email to sage-support

[sage-support] Re: plotting Weierstrass Elliptic function

2008-04-22 Thread David Joyner
I'm not sure what 3d plot you want. However, if I read the documentation at the link you provided correctly then sage: E = pari(['1', 'I']) sage: E.ellwp(1+I) -1/2*I says p(1+i)=-i/2 for the elliptic curve associated to Z+iZ. Maybe you want to plot the real and imaginary parts of sage: f =

[sage-support] bug in DirichletGroup?

2008-04-19 Thread David Joyner
[value.ivalue] 1059 # iterate: 1060 # increase the exponent vector by 1, type 'exceptions.IndexError': list index out of range Should I report this to trac? - David Joyner --~--~-~--~~~---~--~~ To post to this group, send email

[sage-support] Re: bug in DirichletGroup?

2008-04-19 Thread David Joyner
On Sat, Apr 19, 2008 at 5:08 PM, William Stein [EMAIL PROTECTED] wrote: On Sat, Apr 19, 2008 at 1:55 PM, David Joyner [EMAIL PROTECTED] wrote: Hi: I wonder if this behavior is a bug? sage: G = DirichletGroup(21) sage: chi = G.0; chi [-1, 1] sage: chi.values

[sage-support] Re: raw picture manipulation

2008-04-17 Thread David Joyner
This does not answer your question but might help your friend. The command matrix_plot (eg, sage: matrix_plot(random_matrix(GF(389), 10), cmap='Oranges')) might be a simpler function to use if he just wants to test how good the linear code works on an image. BTW, since you are the author of the

[sage-support] Re: Fwd: fourier series

2008-04-15 Thread David Joyner
The module piecewise.py has fairly extensive functionality for the computation of Fourier series of piecewise defined periodic functions. It even allows filters. There are examples at http://www.sagemath.org/doc/html/const/node12.html

[sage-support] Re: Fwd: fourier series

2008-04-15 Thread David Joyner
On Tue, Apr 15, 2008 at 4:02 AM, David Joyner [EMAIL PROTECTED] wrote: The module piecewise.py has fairly extensive functionality for the computation of Fourier series of piecewise defined periodic functions. It even allows filters. There are examples at http://www.sagemath.org/doc

[sage-support] Re: [sage-devel] Bad example with NICE graph isomorphism

2008-04-14 Thread David Joyner
Perhaps this has been fixed already? sage: version() 'SAGE Version 3.0.alpha2, Release Date: 2008-04-06' sage: import sage.graphs sage: import sage.graphs.graph_isom sage: sage: G=Graph([EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@KN~_^}?~{)

[sage-support] Re: fft from matlab

2008-04-11 Thread David Joyner
On Fri, Apr 11, 2008 at 4:30 AM, Nicoo [EMAIL PROTECTED] wrote: thx for theses examples, but now i don't found how to scale my plot, i used list_plot I'm not sure that you mean by scale but in any case, list_plot, and its options, is described here

[sage-support] Re: [sage-devel] Re: [sage-support] PDE and Finite Element methods

2008-04-07 Thread David Joyner
On Mon, Apr 7, 2008 at 10:08 AM, Ondrej Certik [EMAIL PROTECTED] wrote: On Mon, Apr 7, 2008 at 3:41 PM, Mike Hansen [EMAIL PROTECTED] wrote: On Mon, Apr 7, 2008 at 6:25 AM, Ondrej Certik [EMAIL PROTECTED] wrote: Yes, I did. This is the code developed by people at Simula. It works

[sage-support] Re: [sage-devel] Re: [sage-support] PDE and Finite Element methods

2008-04-07 Thread David Joyner
On Mon, Apr 7, 2008 at 2:35 PM, Anders Logg [EMAIL PROTECTED] wrote: On 7 Apr, 16:47, Ondrej Certik [EMAIL PROTECTED] wrote: On Mon, Apr 7, 2008 at 4:15 PM, David Joyner [EMAIL PROTECTED] wrote: On Mon, Apr 7, 2008 at 10:08 AM, Ondrej Certik [EMAIL PROTECTED] wrote

[sage-support] sage reference manual addition?

2008-04-05 Thread David Joyner
. Is there any chance they could be added? - David Joyner --~--~-~--~~~---~--~~ 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://groups.google.com

[sage-support] Re: using optional packages

2008-03-26 Thread David Joyner
I don't use windows but the way you are trying is definitely wrong. In linux you just type sage -i gap_packages-4.4.10_4 and it downloads it (assuming you have internet) and installs it for you. It also loads the GAP packages into the saved GAP workspace. Therefore, once it is installed, all of

[sage-support] Re: polynomial object and symoblic computations

2008-03-25 Thread David Joyner
It might work if you try coercing f = B[0] first into R2.x,y = PolynomialRing(CC, 2, 'xy') then applying factor or whatever to R2(f). I haven't tried it with your problem but that general idea has worked for me in similar situations. On Tue, Mar 25, 2008 at 5:18 AM, continuum121 [EMAIL

[sage-support] Re: Histograms

2008-03-24 Thread David Joyner
One way is, for example, sage: J = range(3) sage: A = [ZZ(i^2)+1 for i in J] sage: s = IndexedSequence(A,J) sage: s.plot_histogram() using http://www.sagemath.org/hg/sage-main/file/211b127eab5d/sage/gsl/dft.py I think there is another way but I don't remember the details. I think this question

[sage-support] Re: Error related with singular, gap and resultant

2008-03-08 Thread David Joyner
On Sat, Mar 8, 2008 at 4:23 PM, Simon King [EMAIL PROTECTED] wrote: Dear Team, now i can reproduce a very similar thing even on sage.math! - sage: R.x = QQ[] sage: f = x^3 + x + 1; g = x^3 - x - 1 sage: r = f.resultant(g) sage:

[sage-support] Re: Set question

2008-03-07 Thread David Joyner
On Fri, Mar 7, 2008 at 10:57 AM, William Stein [EMAIL PROTECTED] wrote: On Fri, Mar 7, 2008 at 7:35 AM, David Joyner [EMAIL PROTECTED] wrote: Hi: Is there a reason why Set only applies to hashable elements? Set is implemented using the Python language's builtin set type, which

[sage-support] Re: Error related with singular, gap and resultant

2008-03-06 Thread David Joyner
Just an observation - both Scientific Linux and OpenSUSE are rpm-based. I wonder if this can be duplicated on a redhat machine. On Thu, Mar 6, 2008 at 1:35 PM, parombouts [EMAIL PROTECTED] wrote: Simon King wrote: Dear William, On Mar 5, 11:51 pm, William Stein [EMAIL PROTECTED]

[sage-support] Groebner bases error?

2008-03-03 Thread David Joyner
over Rational Field ^ type 'exceptions.SyntaxError': invalid syntax If this is indeed an error, should I make a new trac ticket or has it already been reported? - David Joyner --~--~-~--~~~---~--~~ To post

[sage-support] there must be some way to do this in SAGE [class fields]

2008-02-21 Thread David Joyner
A forwarded email question about SAGE. Can anyone help? I have been led to believe that what I need to do is the following class field calculations. For Crespo's (1997) tetrahedral example f(x) = x^4-2x^3+2x^2-2x+3 the associated modular form of weight one is F=q-iq^3-q^5-iq^11

[sage-support] Re: contour_plot bug

2008-02-20 Thread David Joyner
I can verify this on an intel mac *and* that sage: contour_plot(y-1,(-10,10),(-10,10),fill=False,contours=2,plot_points=100) sage: contour_plot(y-1,(-10,10),(-10,10),fill=False,contours=1,plot_points=100) yield the same plot. On Wed, Feb 20, 2008 at 4:47 PM, Kate [EMAIL PROTECTED] wrote:

[sage-support] Re: System of Equations Question

2008-02-18 Thread David Joyner
I believe Sage simply calls Maxima for the solution. Since you obviously know the most about the problem, perhaps the easiest thing to do would be to determine that it is Sage and not Maxima that is at fault. Perhaps you could see if the solution is obtained in Maxima? (On the command line of

[sage-support] Re: System of Equations Question

2008-02-18 Thread David Joyner
On Feb 18, 2008 8:29 PM, Ben Goodrich [EMAIL PROTECTED] wrote: On Feb 18, 3:58 pm, David Joyner [EMAIL PROTECTED] wrote: I believe Sage simply calls Maxima for the solution. Since you obviously know the most about the problem, perhaps the easiest thing to do would be to determine

[sage-support] Re: System of Equations Question

2008-02-18 Thread David Joyner
On Feb 18, 2008 9:09 PM, William Stein [EMAIL PROTECTED] wrote: On Feb 18, 2008 6:04 PM, David Joyner [EMAIL PROTECTED] wrote: On Feb 18, 2008 8:29 PM, Ben Goodrich [EMAIL PROTECTED] wrote: On Feb 18, 3:58 pm, David Joyner [EMAIL PROTECTED] wrote: I believe Sage simply calls

[sage-support] Re: Odd behaviour of parametric_plot

2008-02-16 Thread David Joyner
I don't know how to fix it so that parametric_plot works. However, the following workaround at least gives you a plot: sage: a = RR(1729^(1/3)) sage: f1 = lambda x: RR(real((1729 - x^3)^(1/3))) sage: f2 = lambda x: RR(real(-(-1729 + x^3)^(1/3))) sage: L1 = [(x,f1(x)) for x in

[sage-support] Re: Another possible bug in parametric_plot/show

2008-02-16 Thread David Joyner
Sorry, I don't use the notebook (command-line only), but if you could paste the code you are trying to run I can look at it and see if I can spot something. On Feb 16, 2008 5:07 AM, bill.p [EMAIL PROTECTED] wrote: Just a brief note to re-raise this problem. No-one seems interested... a pity

[sage-support] Re: Extreme Newbie Development Questions

2008-02-16 Thread David Joyner
On Feb 16, 2008 5:34 PM, dean moore [EMAIL PROTECTED] wrote: OK, there seems an interest in us relatively new folk contributing code for SAGE. Admirable. More than I get from M*cr*s*ft. Or Apple. Thanks. I mean it. Surfing Wikipedia, I came upon the animated graph at

[sage-support] Re: Bessel argument order

2008-02-16 Thread David Joyner
On Feb 16, 2008 5:46 PM, mabshoff [EMAIL PROTECTED] wrote: On Feb 16, 11:38 pm, David Joyner [EMAIL PROTECTED] wrote: Hi David, Micheal suggested replacing all #random's by ... and William seconded this. Then William suggested adding the scip option to the functions implemented

[sage-support] Re: sage-newbie list and sage-support list

2008-02-15 Thread David Joyner
On Fri, Feb 15, 2008 at 5:37 PM, William Stein [EMAIL PROTECTED] wrote: On Feb 15, 2008 2:31 PM, Marshall Hampton [EMAIL PROTECTED] wrote: I agree that two lists are better than four - sage-support and sage- devel should be enough. I strongly agree. I would like us to have only

[sage-support] Re: sage-newbie list and sage-support list

2008-02-15 Thread David Joyner
On Fri, Feb 15, 2008 at 6:08 PM, William Stein [EMAIL PROTECTED] wrote: On Feb 15, 2008 2:58 PM, David Joyner [EMAIL PROTECTED] wrote: On Fri, Feb 15, 2008 at 5:37 PM, William Stein [EMAIL PROTECTED] wrote: On Feb 15, 2008 2:31 PM, Marshall Hampton [EMAIL PROTECTED] wrote

[sage-support] Re: sage-newbie list and sage-support list

2008-02-15 Thread David Joyner
On Fri, Feb 15, 2008 at 6:26 PM, mabshoff [EMAIL PROTECTED] wrote: SNIP How exactly do you close a google group? I just changed the list settings so that only managers can post, which is just you and me. That should be good enough. We should also edit the welcome

[sage-support] Re: animation question

2008-02-14 Thread David Joyner
On Thu, Feb 14, 2008 at 3:34 PM, dino [EMAIL PROTECTED] wrote: I posted this to the sage-newbie list, but it never generated a response. I understand this list has more people in the know. We have the following snippet: arm= animate([arrow((0,0),(cos(i), sin(i)),

[sage-support] Re: Signum function?

2008-02-04 Thread David Joyner
I think it is pretty easy to make one using piecewise. On Feb 4, 2008 9:19 AM, vgermrk [EMAIL PROTECTED] wrote: I think it would be nice to have a signum-function (i.e. sign(x)=abs(x)/x or sign(x)=cmp(x,0) ) in sage. There is none, right? Of course it should work on integers, floats,

[sage-support] Re: [sage-devel] GAP packages install error

2008-01-30 Thread David Joyner
I assume you did sage -i gap_packages-4.4.10_3 I tested this on an intell macbook and a linux box running ubuntu fiesty fawn and it worked fine on both. First, it looks like the GAP packages were installed fine but nauty wasn't compiled (which is distributed with grape, a graph theory package).

[sage-support] Re: The idea of Sage running on a calculator-sized device (update)

2008-01-26 Thread David Joyner
On Jan 26, 2008 4:01 AM, Ted Kosan [EMAIL PROTECTED] wrote: A while ago we discussed where Sage would be a few years in the future and one idea that was discussed was Sage running inside of a calculator-sized device. These two articles indicate that this will be feasible in a relatively

[sage-support] Re: CartesianProduct

2008-01-24 Thread David Joyner
Doesn't tuples http://www.sagemath.org/doc/html/ref/module-sage.combinat.combinat.html#l2h-3041 or Tuples http://www.sagemath.org/doc/html/ref/module-sage.combinat.tuple.html#l2h-4417 do what you want? On Jan 24, 2008 5:13 AM, Simon King [EMAIL PROTECTED] wrote: Dear Sage team, how can i

[sage-support] old SAGE link at MSRI

2008-01-24 Thread David Joyner
Hi: Just curious if there a way to update the SAGE link at http://www.msri.org/about/computing/mathdocs - David Joyner --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL

[sage-support] Re: Bar graphs

2008-01-21 Thread David Joyner
This question was just asked by someone else on sage-newbie. In gsl/dft.py there is a plot_histrogram function. Other people suggested other options in the htread though. On Jan 21, 2008 10:43 AM, David Kohel [EMAIL PROTECTED] wrote: Apologies if this is double-sent; I thought I sent it

[sage-support] Re: GAP small groups library missing

2008-01-15 Thread David Joyner
On Jan 15, 2008 2:51 AM, esdc [EMAIL PROTECTED] wrote: Hi all, I was trying to run a GAP session inside sage, with gap_console() and when the Smallgroups library is needed, I obtain an error: Error, the Small Groups library is required but not installed called from function( arguments )

[sage-support] problem with plot3d on ubuntu 64bit

2008-01-15 Thread David Joyner
-testall on both of these to see if something pops up. - David Joyner --~--~-~--~~~---~--~~ 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-newbie] Re: integration of piecewise-defined functions

2008-01-14 Thread David Joyner
At the moment, (a) piecewise is only set up for piecewise polynomials, (b) the integrate command is integral. So, for your function (which is piecewise polynomial), this should work: sage: f1a = lambda x: -x+1; f1b = lambda x: x+1 sage: f2a = lambda x : -(x - 2) - 1; f2b = lambda x : (x - 2) - 1

[sage-support] Re: Computations with Lie algebras?

2008-01-14 Thread David Joyner
On Jan 14, 2008 9:31 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Does SAGE currently include any functionality for manipulating Lie algebras? (I only need reductive Lie algebras, because I'm using them to study compact Lie groups.) For instance, I'd like to be able to manipulate

[sage-support] bug in parametric plot?

2008-01-07 Thread David Joyner
last) type 'exceptions.AttributeError': 'Pi' object has no attribute 'number_of_arguments' Is this a bug? If so, should I create a trac ticket? - David Joyner --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com

[sage-support] Re: bug in parametric plot?

2008-01-07 Thread David Joyner
Done: http://sagetrac.org/sage_trac/ticket/1718 On Jan 7, 2008 5:07 PM, William Stein [EMAIL PROTECTED] wrote: On Jan 7, 2008 1:08 PM, David Joyner [EMAIL PROTECTED] wrote: Hi: sage: parametric_plot([t, t + RR(pi)], -2, 2, rgbcolor=(1,0,0)) works but not this: sage

[sage-support] Re: pylab examples [was Small correction for Constructions ...]

2008-01-02 Thread David Joyner
' Traceback (most recent call last) ... On Jan 2, 2008 3:09 AM, William Stein [EMAIL PROTECTED] wrote: On Dec 28, 2007 8:08 PM, David Joyner [EMAIL PROTECTED] wrote: I just pasted that in exactly in Sage at the command line and it worked fine. Above you say it doesn't work. What

[sage-support] Re: pylab examples [was Small correction for Constructions ...]

2008-01-02 Thread David Joyner
On Jan 2, 2008 1:57 PM, William Stein [EMAIL PROTECTED] wrote: On Jan 2, 2008 9:47 AM, David Joyner [EMAIL PROTECTED] wrote: (1) I get the same failure after hg_sage.pull(). (2) I ssh'd into sage.math and tried the commands and got much worst errors: sage: from pylab import

[sage-support] Re: matrix vs. vector differences?

2008-01-01 Thread David Joyner
The decode bug has been submitted as http://sagetrac.org/sage_trac/ticket/1651 I'm not sure that you mean by ...and the function documentation On Dec 30, 2007 4:15 PM, harald schilly [EMAIL PROTECTED] wrote: On Dec 30, 9:13 pm, David Joyner [EMAIL PROTECTED] wrote: This is a bug

[sage-support] bug in plot of 2^x?

2007-12-30 Thread David Joyner
.' --- type 'exceptions.IndexError'Traceback (most recent call last) ... returns an error. Seems like a bug. Should I create a track ticket for this? - David Joyner --~--~-~--~~~---~--~~ To post

[sage-support] Re: matrix vs. vector differences?

2007-12-30 Thread David Joyner
This is a bug in decode. Thanks for reporting it. I'll add it to trac and fix it as soon as I can. On Dec 30, 2007 1:34 PM, harald schilly [EMAIL PROTECTED] wrote: Is there a fundamental difference between a matrix and a vector? If so, there has to be some documentation about it. (or it's

[sage-support] Re: pylab examples [was Small correction for Constructions ...]

2007-12-28 Thread David Joyner
On Dec 28, 2007 4:38 PM, William Stein [EMAIL PROTECTED] wrote: On Dec 27, 2007 8:35 AM, David Joyner [EMAIL PROTECTED] wrote: On Dec 27, 2007 12:45 AM, William Stein [EMAIL PROTECTED] wrote: On Dec 26, 2007 10:19 PM, David Joyner [EMAIL PROTECTED] wrote: I'm thinking of adding

[sage-support] Re: hg_doc question

2007-12-28 Thread David Joyner
On Dec 28, 2007 3:36 PM, William Stein [EMAIL PROTECTED] wrote: On Dec 27, 2007 6:54 PM, David Joyner [EMAIL PROTECTED] wrote: Hi: Suppose you follow the instructions in the programming manual to edit one of the latex doc files, such as prog,tex, const.tex, tut.tex, etc. http

[sage-support] Re: [sage-newbie] Odd interactions in Sage Tutorial

2007-12-27 Thread David Joyner
I am working today and tomorrow on fixing all your typos and possibly adding a few more examples to the tutorial. Thanks very much for your reports. ++ On Dec 17, 2007 12:23 PM, bill purvis [EMAIL PROTECTED] wrote: Hi, I'm looking at the Sage Tutorial, file

[sage-support] hg_doc question

2007-12-27 Thread David Joyner
way to start from scratch (short of starting over again on a completely different copy of sage)? With src patches, you simply can start a new clone. That trick does not seem to work for hg_doc. - David Joyner --~--~-~--~~~---~--~~ To post to this group, send email

[sage-support] Re: kernel function documentation is misleading

2007-12-26 Thread David Joyner
On Dec 26, 2007 11:10 PM, William Stein [EMAIL PROTECTED] wrote: On Dec 26, 2007 8:51 PM, Mike Hansen [EMAIL PROTECTED] wrote: I had made this a ticket a few days ago: http://sagetrac.org/sage_trac/ticket/1587 Thanks. I've updated the ticket based on the above discussion, and

[sage-support] bug/missing feature in plot?

2007-12-25 Thread David Joyner
to 2*\pi, flipped about the 45^o line. Is this easy to do? - David Joyner Can anyone see what I'm doing wrong here? - David Joyner --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email

[sage-support] Re: bug/missing feature in plot?

2007-12-25 Thread David Joyner
of contents). On Dec 25, 2007 11:40 AM, William Stein [EMAIL PROTECTED] wrote: On Dec 25, 2007 9:18 AM, David Joyner [EMAIL PROTECTED] wrote: Hi: (a) I'm not sure if this is a bug or something missing, but it seems to me it should be easy to plot y=arccsc(x) in SAGE, since it is a basic

[sage-support] OLPC and sage

2007-12-19 Thread David Joyner
apparently could not achieve a secure connection. I wonder if a SAGE binary can be run from an SD card? - David Joyner --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED

[sage-support] Re: OLPC and sage

2007-12-19 Thread David Joyner
On Dec 19, 2007 8:03 PM, David Harvey [EMAIL PROTECTED] wrote: On Dec 19, 2007, at 7:57 PM, Ted Kosan wrote: I tried to connect to the online server on sagemath.org but the laptop apparently could not achieve a secure connection. I wonder if a SAGE binary can be run from an SD card?

[sage-support] Re: Sage-2.9

2007-12-17 Thread David Joyner
On Dec 16, 2007 11:19 PM, mabshoff [EMAIL PROTECTED] wrote: Hello, I ran sage -testall -long and sage -testall -optional on the 2.9 release on sage.math. While -long passed with flying colors, -optional had some failures in tut.tex since I didn't install some optional GAP database. But

[sage-support] Re: Sage Tutorial typos

2007-12-17 Thread David Joyner
On Dec 17, 2007 6:55 AM, bill purvis [EMAIL PROTECTED] wrote: Dear Professor Joyner, I've just discovered sage and am greatly impressed. As an enthusiastic elderly amateur, I can't claim any great knowledge in the field, but I have noticed a couple of typos in the tutorial. For example near

[sage-support] Re: Sage-2.9

2007-12-17 Thread David Joyner
On Dec 17, 2007 6:56 AM, mabshoff [EMAIL PROTECTED] wrote: On Dec 17, 12:42 pm, David Joyner [EMAIL PROTECTED] wrote: On Dec 16, 2007 11:19 PM, mabshoff [EMAIL PROTECTED] wrote: Hello, I ran sage -testall -long and sage -testall -optional on the 2.9 release on sage.math

[sage-support] minor bug in time?

2007-12-15 Thread David Joyner
() type 'exceptions.NameError': name 'time' is not defined sage: time 4-2 CPU times: user 0.00 s, sys: 0.00 s, total: 0.00 s Wall time: 0.00 2 - David Joyner --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from

[sage-support] Re: gaussian_binomial()

2007-12-10 Thread David Joyner
})} {(1-q)(1-q^2)\cdots (1-q^k)}. $$ EXAMPLES: sage: gaussian_binomial(5,1,2) 31 AUTHOR: David Joyner and William Stein R.x=QQ[] n = prod([1 - x**i for i in range((n-k+1),n+1)]) d = prod([1 - x**i for i in range(1,k+1

[sage-support] Re: [sage-devel] bug in 2.8.15 (somewhere in sage.calculus?)

2007-12-10 Thread David Joyner
On Dec 10, 2007 8:29 PM, Jonathan Bober [EMAIL PROTECTED] wrote: Hi all. I just opened ticket #1457 (see below) http://trac.sagemath.org/sage_trac/ticket/1457 The following is hopefully pretty self explanatory: --- The following took place on an Intel

[sage-support] Re: patch creation problem?

2007-12-10 Thread David Joyner
On Dec 10, 2007 9:25 PM, William Stein [EMAIL PROTECTED] wrote: On Dec 10, 2007 5:44 PM, David Joyner [EMAIL PROTECTED] wrote: Hi: It seems like I saw this reported already but can't find it now. I'm thinking I'm doing something stupid, but can't figure it out and was wondering

[sage-support] Re: Computing discrete logarithm

2007-12-04 Thread David Joyner
Maybe printing the values makes it clearer? sage: R = Integers(125) sage: g = R.multiplicative_generator(); g 2 sage: b = g^3; b 8 sage: a = b^17; a 123 sage: a.log(b) 17 So, 123 = 8^(17) mod 125: sage: R(123).log(8) 17 sage: R(123) == R(8)^(17) True On Dec 4, 2007 5:59 AM, Timothy Clemans

[sage-support] Re: Nasty bug in Calculus?

2007-11-30 Thread David Joyner
exclusively in SAGE one day. regards john perry On Nov 30, 9:00 am, David Joyner [EMAIL PROTECTED] wrote: I'm not sure what the cause of the error is but, FYI, some Riemann sum stuff is already implemented in piecewise.py. On Nov 30, 2007 9:41 AM, john_perry_usm [EMAIL PROTECTED] wrote

[sage-support] Re: Nasty bug in Calculus?

2007-11-30 Thread David Joyner
I'm not sure what the cause of the error is but, FYI, some Riemann sum stuff is already implemented in piecewise.py. On Nov 30, 2007 9:41 AM, john_perry_usm [EMAIL PROTECTED] wrote: Hi, One of my students was writing a procedure to implement a Midpoint Riemann Sum in SAGE. The procedure

[sage-support] Re: using Singular's invariant_ring

2007-11-25 Thread David Joyner
On Nov 25, 2007 4:29 PM, William Stein [EMAIL PROTECTED] wrote: On Nov 25, 2007 3:27 AM, Martin Albrecht [EMAIL PROTECTED] wrote: @Martin Albrecht: - Is there a reasonable way to fix this in the interface? Hi, the 'trivial' way to fix it, is to implement a Python function for

[sage-support] Re: bug in permutations?

2007-11-24 Thread David Joyner
Done. A patch was linked to on the trac ticket http://sagetrac.org/sage_trac/ticket/1254 On Oct 28, 2007 1:20 PM, William Stein [EMAIL PROTECTED] wrote: On 10/28/07, Justin C. Walker [EMAIL PROTECTED] wrote: Please: no printed deprecated warnings. Anything would be better than that. +2

[sage-support] using Singular's invariant_ring

2007-11-24 Thread David Joyner
Hi: Suppose a finite matrix group G generated by 3x3 matrices A1, A2, ..., Ar acts on the polynomial ring QQ[x,y,z]. Singular has a command which computes a basis of invariants. I'm stuck trying to run them in SAGE. The commands at

[sage-support] Re: [sage-newbie] curve length

2007-11-20 Thread David Joyner
On Nov 20, 2007 8:12 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: As far as i know, length of curve, defined as f(x) from a to b (a = x = b) is L = integral from a to b of sqrt(1 + df(x)^2)dx where df(x) is diff(f,x) for f(x) = y = x^2 , a=0, b=2 it should be df(x)=2x sqrt(17) + ln|4

[sage-support] bug in eigenspaces?

2007-11-20 Thread David Joyner
with eigenspaces at all ... Should I create a trac item under linear algebra or ??? - David Joyner --~--~-~--~~~---~--~~ 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

[sage-support] Re: bug in eigenspaces?

2007-11-20 Thread David Joyner
Done http://sagetrac.org/sage_trac/ticket/1219 On Nov 20, 2007 2:22 PM, William Stein [EMAIL PROTECTED] wrote: On Nov 20, 2007 11:14 AM, David Joyner [EMAIL PROTECTED] wrote: Hi: Something funny is going on: sage: MS = MatrixSpace(CC, 2, 2) sage: A = MS([[1,5],[3,-1]]) sage

[sage-support] Re: Questions about solve()

2007-11-20 Thread David Joyner
No, but sage: t = var(t) sage: a = lambda t: 0.004*(8*exp(-300*t) - 8*exp(-1200*t))*72*exp(-300*t) - 0.1 sage: attach '/home/wdj/sagestuff/sage-2.8.9.rc1/examples/calculus/newton_raphson.sage' sage: newton_raphson(a,0.01,0.01,0.1) 0.0205789829857519 works okay. (This newton_raphson

[sage-support] Fwd: Fwd: [sage-support] Issue with interface to Gap in 2.8.12

2007-11-09 Thread David Joyner
FYI -- Forwarded message -- From: Steve Linton [EMAIL PROTECTED] Date: Nov 9, 2007 3:49 AM Subject: Re: Fwd: [sage-support] Issue with interface to Gap in 2.8.12 To: David Joyner [EMAIL PROTECTED] Distinction between Print and View is the issue here. Viw truncates, Print does

[sage-support] Re: Permutations from gap.

2007-11-06 Thread David Joyner
Thank you for your report. Note sage: x = (1,2)(3,7)(4,6)(5,8) sage: PermutationGroup([x]) Permutation Group with generators [(1,2)(3,7)(4,6)(5,8)] works fine. The result of gap.Image is an instance of the GapElement class, so it looks like it is a syntax issue for such elements. I can take a

[sage-support] Re: building sage on ubuntu

2007-11-04 Thread David Joyner
On 11/4/07, Joseph Hufnagle [EMAIL PROTECTED] wrote: Dear Sir: Thank you for the instructions to building Sage on Ubuntu Linux. The compilation took some time, but it was well worth it. Happy to help. Thanks again, [EMAIL PROTECTED] Date: Thu, 1 Nov 2007 23:12:10 -0400

[sage-support] Re:

2007-11-01 Thread David Joyner
By coincidence, I recently installed sage from source on a fresh ubuntu install and the instructions on http://www.sagemath.org/doc/html/inst/node5.html worked for me. In other words, if you type sudo apt-get install gcc-4.2-base # or the latest version available sudo apt-get install make

[sage-support] Re: undergraduate linear algebra and SAGE

2007-10-31 Thread David Joyner
On 10/30/07, Jason Grout [EMAIL PROTECTED] wrote: My postdoc mentor is being flown to China to give a presentation on teaching undergraduate linear algebra in the U.S. She is emphasizing technology in teaching. She will talk about Mathematica, Maple, Matlab, and calculators in teaching.

[sage-support] Re: bug in permutations?

2007-10-28 Thread David Joyner
Joyner [EMAIL PROTECTED] wrote: Hi: Either a bug in combinat.py's permutations, or an indication that it needs to be rewritten. (permutations is a GAP wrapper which I might have written, so should probably fix ...) - David Joyner sage: MS = MatrixSpace(QQ,2,2) sage: A = MS

[sage-support] features of set, Set ?

2007-10-27 Thread David Joyner
Hi: Is the following a feature or a bug? sage: set([1,2]) set([1, 2]) sage: set([[1],[2]]) --- type 'exceptions.TypeError' Traceback (most recent call last) /Users/wdj/sagefiles/sage-2.8.2/ipython console in

[sage-support] bug in permutations?

2007-10-27 Thread David Joyner
Hi: Either a bug in combinat.py's permutations, or an indication that it needs to be rewritten. (permutations is a GAP wrapper which I might have written, so should probably fix ...) - David Joyner sage: MS = MatrixSpace(QQ,2,2) sage: A = MS([1,2,3,4]) sage: permutations(A.rows()) [[(3, 4), (1

[sage-support] eigenspaces feature?

2007-10-26 Thread David Joyner
, it seems that eigenspaces uses (b). I wonder if there is any support for adding an option to eigenspaces to use (a). - David Joyner --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email

[sage-support] DE question

2007-10-17 Thread David Joyner
classes this semester. Some students can't install the SAGE software due to inexperience with computers, so I wanted to give them the option of using sage.math instead. - David Joyner --~--~-~--~~~---~--~~ To post to this group, send email to sage-support

[sage-support] Re: DE question

2007-10-17 Thread David Joyner
On 10/17/07, William Stein [EMAIL PROTECTED] wrote: On 10/17/07, David Joyner [EMAIL PROTECTED] wrote: The commands [EMAIL PROTECTED]:~/sagefiles/sage-2.8.2 ./sage -- | SAGE Version 2.8.5, Release Date: 2007-09-21

[sage-support] Re: installation manual

2007-10-14 Thread David Joyner
On 10/9/07, mabshoff [EMAIL PROTECTED] wrote: David Joyner wrote: Hi: Hello David, I installed sage 2.8.6 from source on a new install of 64 bit ubuntu 7.10. The installation manual says On a newly installed Ubuntu system, you can install the above commands as follows

[sage-support] very old hg patch

2007-10-14 Thread David Joyner
file, I'd like to add it to http://www.sagemath.org/doc/html/prog/node72.html Any suggestions? - David Joyner --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED

[sage-support] Re: very old hg patch

2007-10-14 Thread David Joyner
On 10/14/07, William Stein [EMAIL PROTECTED] wrote: On 10/14/07, David Joyner [EMAIL PROTECTED] wrote: Hi: I wrote a patch last November which apparently fixed some bugs in the maxima interface: http://sage.math.washington.edu/home/wdj/patches/maxima-patch-latest-really.hg I really

[sage-support] Re: Matrix multiplication over finite fields

2007-10-04 Thread David Joyner
On 10/4/07, Simon King [EMAIL PROTECTED] wrote: Dear sage-support team, i'm trying to convince my boss about using modern linear algebra software (as part of a project on group cohomology rings). However, i need better arguments. Perhaps you have some? This is separate from your question,

[sage-support] Re: unable to run sage

2007-10-01 Thread David Joyner
More details might help. What is your operating system? Did you compile the program or are you running a binary? Is this a fresh install or did you do some hacking with the source code? + On 10/1/07, chris wuthrich [EMAIL PROTECTED] wrote: Hi out there, can

[sage-support] Re: recurrence relation for a system of simultaneous equations

2007-09-28 Thread David Joyner
On 9/28/07, David Stahl [EMAIL PROTECTED] wrote: I have a system of polynomial equations with rational coefficients and I have one rational solution. I am trying to find a recurrence relation that will allow me to generate additional rational solutions. The equations are:

[sage-support] possible bug in diff for power series rings?

2007-09-26 Thread David Joyner
Hi: I'm not sure if this is a bug or not but just in case, here is the way diff is behaving for me. - David Joyner sage: version() 'SAGE Version 2.8.5, Release Date: 2007-09-21' sage: R1.a = PolynomialRing(QQ) sage: R2.x = PowerSeriesRing(R1) sage: y = a*x sage: y.derivative() a sage: diff(y,x

[sage-support] Re: Changing basis in finite fields

2007-09-06 Thread David Joyner
to make the vector space aspect of my finite field works for its polynomial ring as well and give me something like: (0, x, 0, 0, 0) Thank you in advance! Bests, Ahmad On Sep 4, 5:53 pm, William Stein [EMAIL PROTECTED] wrote: On 9/4/07, David Joyner [EMAIL PROTECTED] wrote

[sage-support] Re: wiki from notebook

2007-09-05 Thread David Joyner
Thanks for reporting this. This is http://sagetrac.org/sage_trac/ticket/596 Can you try Ctl-C, Ctl-C (twice in rapid succession) and see if that works? ++ On 9/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm experimenting with the wiki. When I

[sage-support] Re: Changing basis in finite fields

2007-09-04 Thread David Joyner
On 9/3/07, William Stein [EMAIL PROTECTED] wrote: On 9/3/07, Ahmad [EMAIL PROTECTED] wrote: I'm new to sage and I don't know even if I'm supposed to post such questions to this group or not. If it is a correct place: Could you please tell me how can I change the basis in finite field

[sage-support] Re: Hyper newbie needs a pointer ...

2007-09-04 Thread David Joyner
This is a great question for the email list sage-newbie http://www.sagemath.org/lists.html It turns out there is a draft of a document which does what you want. You can ask there for the url of the latest draft. ++ On 9/4/07, gary [EMAIL PROTECTED] wrote: I see

[sage-support] Re: Changing basis in finite fields

2007-09-03 Thread David Joyner
This is the right place but I don't think what you want is implemented. The commands and examples are here: http://www.sagemath.org/doc/html/ref/module-sage.rings.finite-field.html It would be some work but possibly you could do what you could in SAGE, then use GAP's NormalBase command?

[sage-support] Re: Categorizing Sage's documentation

2007-08-25 Thread David Joyner
On 8/25/07, Ted Kosan [EMAIL PROTECTED] wrote: William wrote: So maybe the docstring for a function might have something like. SUBJECTS: Algebra.Combinatorics, Analysis.ComplexFunctions Something like this seems like a really good idea. My thought with the hierarchical tags is that

[sage-support] Re: C.I.L. by Integration problem

2007-08-22 Thread David Joyner
I'm told it will be in 2.8.3, whose release is planned on Thursday or Friday. +++ On 8/22/07, Ted Kosan [EMAIL PROTECTED] wrote: David wrote: You can try this: sage: t = var('t') sage: y = function('y', t) sage: de = lambda y: diff(y,t) -

<    2   3   4   5   6   7   8   >