Re: [sage-support] Re: promote Sage on python success stories

2014-08-27 Thread Joel B. Mohler
On 08/27/2014 08:30 AM, kcrisman wrote: A failure ? Why ? See http://sagemath.blogspot.com/ However, note that this is with respect to a very high goal indeed, which is to replicate every last bit of functionality in the programs mentioned in the mission statement. It is a very high

[sage-support] Re: factoring in a number field

2012-02-26 Thread Joel B. Mohler
On Feb 26, 7:35 pm, "Joel B. Mohler" wrote: > After having been a heavy sage user for several years, I now have > virtually not touched it for several more years.  Returning now on a > lark, I'm feeling rather confused because I'd think the following > would obvio

[sage-support] factoring in a number field

2012-02-26 Thread Joel B. Mohler
After having been a heavy sage user for several years, I now have virtually not touched it for several more years. Returning now on a lark, I'm feeling rather confused because I'd think the following would obviously work. My goal is to factor a bunch of Gaussian integers. sage: K.=QuadraticField

[sage-support] Re: Reading CSV Files From Databases

2009-10-29 Thread Joel B. Mohler
On Thursday 29 October 2009 05:10:38 pm JJWMac wrote: > Back in February, Marshall Hampton posted in response to a query about > reading a csv file. > > > I am tempted to open a ticket in trac for some sort of read_csv > command, which might behave like the following (NOTE: this i

[sage-support] Re: Cython editor

2008-10-08 Thread Joel B. Mohler
On Wednesday 08 October 2008 06:10:16 pm cesarnda wrote: > but usually they give 5 spaces instead of 4 That's not the "usually" that I experience. But, even if it is what your editor does, it is almost certainly configurable. -- Joel --~--~-~--~~~---~--~~ To po

[sage-support] Re: Cython editor

2008-10-08 Thread Joel B. Mohler
On Wednesday 08 October 2008 01:37:40 pm Carlo Hamalainen wrote: > On Wed, Oct 8, 2008 at 7:31 PM, Simon King <[EMAIL PROTECTED]> wrote: > > I'm using XEmacs in Python mode. Indentation is then automatic. > > I think the question is about changing the indenting of a large block > of existing Pyth

[sage-support] Re: Plotting and constant functions

2008-08-21 Thread Joel B. Mohler
On Thursday 21 August 2008 01:58:23 pm Mike Witt wrote: > I'm looking for a work-around for the situation where I would normally > call parametric_plot (or plot, for that matter) with a function, and in > some particular case that function turns out to evaluate to a constant. > > For example: > >

[sage-support] Re: parametric plot bug? and text plotting "feature"

2008-04-08 Thread Joel B. Mohler
On Tuesday 08 April 2008 02:10:35 am Dan Drake wrote: > On Mon, 07 Apr 2008 at 08:10PM -0700, kcrisman wrote: > > Final comment - are both related to > > sage: parametric_plot((0,t),0,1) > > not working, which is consistent with > > sage: plot(1) > > not returning a horizontal line, but (sort of)

[sage-support] Re: Y axis range

2008-04-01 Thread Joel B. Mohler
On Tuesday 01 April 2008 05:44:31 pm William Stein wrote: > >  Probably if you make some changes to the plotting code, > > and make some scripts that generate a bunch of plots give > > different parameters, and show improvements, everyone would > > agree to commit those changes! > > > >  If you wh

[sage-support] Re: Y axis range

2008-04-01 Thread Joel B. Mohler
On Tuesday 01 April 2008 05:20:47 pm Joel B. Mohler wrote: > On Tuesday 01 April 2008 04:45:16 pm alex clemesha wrote: > > With respect to the 'goal' of Sage's plotting (follow Mma), > > I would say this is definitley a bug. > > > > People with 'viol

[sage-support] Re: Y axis range

2008-04-01 Thread Joel B. Mohler
On Tuesday 01 April 2008 04:45:16 pm alex clemesha wrote: > With respect to the 'goal' of Sage's plotting (follow Mma), > I would say this is definitley a bug. > > People with 'violent' feelings about this apsect of the plotting > might want to change certain features of the plot code once and for

[sage-support] Re: Y axis range

2008-04-01 Thread Joel B. Mohler
On Tuesday 01 April 2008 11:55, William Stein wrote: > On Tue, Apr 1, 2008 at 7:29 AM, Axel <[EMAIL PROTECTED]> wrote: > >  How can I specify the range of y coordinates in a 2d plot? I tried > > > >  show(plot(sin(x),-10,10),ymin=-0.5, ymax=0.5,frame=true) > > > >  but the actual plot goes between

[sage-support] poly ring printing order

2008-01-18 Thread Joel B. Mohler
Hi, The following snippet is from 2.9.3. What does the 'order' parameter do? I thought it affected the order in which monomials appear in the string representation. I wanted x^2+1 to print as '1+x^2' (i.e. small degree appears first). sage: R.=PolynomialRing(QQ,order="degrevlex") sage: R.

[sage-support] Re: Sage as module in python?

2007-12-20 Thread Joel B. Mohler
On Thursday 20 December 2007 14:28, gani wrote: > Hi, I had an interesting question today when I was trying to introduce > SAGE to some of my colleagues. A person asked - can sage be imported > as a module into python? Can it? please let me know. Yes, with some caveats. The biggest one is that t

[sage-support] margins on plots saved to files

2007-10-15 Thread Joel B. Mohler
When I save a plot to a file (.eps), it saves with ungainly margins. It seems like there is often a huge blank space at the top. I don't want to have an axes or frame in my finished output, but when I do turn on the axes and frame to investigate the origins of this margin, it appears like it

[sage-support] properties for lines in graphs

2007-10-15 Thread Joel B. Mohler
Hi, I'm making a collection of graphics for a paper and want them to have similar properties through-out. So, I have an outline of the figure and internal lines and I want a theme through-out (For example, I want all the circles to be red solid lines and the diameters to be black dashed lines

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

2007-10-09 Thread Joel B. Mohler
On Tuesday 09 October 2007 13:05, Simon King wrote: > Michael wrote: > > > When i take a 4x4 matrix over GF(7) with n=101, test function 1 > > > needs 92.50 s CPU time, but test function 2 only needs 1.49 s CPU > > > time! > > > Hence, in that case, MeatAxe (actually a very old version!!) appe

[sage-support] symbolic arithmetic term ordering

2007-09-08 Thread Joel B. Mohler
Hi, I'm really impressed with the symbolic module. It's remarkably robust and useful -- and feels much better than maxima by itself ever did to me. My question is this: I have a large polynomial-ish expression which I'm outputting to latex. I'd rather have it printed with the constant term

[sage-support] Re: 2.8.3.x build problem

2007-09-06 Thread Joel B. Mohler
On Thursday 06 September 2007 08:38, [EMAIL PROTECTED] wrote: > So it seems like LONG_BIT is correctly defined (as 64, in this case) > at that stage of the compilation, but somewhere along the way it gets > redefined incorrectly. Maybe in scons somewhere? If scons is forgetting something (which I

[sage-support] Re: Non-commutative polynomial ring

2007-09-05 Thread Joel B. Mohler
On Wednesday 05 September 2007 20:54, William Stein wrote: > > sage: M. = FreeMonoid(2) > > sage: (x*y).substitute(x=1) > > x*y # I would think that this is 1*y > > > > > > > > > > I find that result unsatisfactory as well, but I sure don't have a good > > idea about what ring (?) the result '1*y

[sage-support] Re: Non-commutative polynomial ring

2007-09-05 Thread Joel B. Mohler
On Wednesday 05 September 2007 18:47, William Stein wrote: > Or maybe you really want a free monoid? > > sage: M. = FreeMonoid(2) > sage: x*y*x*x*y > x*y*x^2*y > sage: (x*y*x*x*y)^3 > x*y*x^2*y*x*y*x^2*y*x*y*x^2*y Yes, so I found FreeMonoid after sending my first e-mail and was testing it out.

[sage-support] Non-commutative polynomial ring

2007-09-05 Thread Joel B. Mohler
Hi, I'm wishing for a ZZ[x,y] where xy!=yx, but I can't seem to find the way to construct such a creature. Is it not yet implemented? In reality, I really only want a monomial so it pretty much boils down to a free group on x and y, but the polynomial ring would make for some pretty syntax e

[sage-support] Re: 2.8.3.x build problem

2007-09-05 Thread Joel B. Mohler
.c is unchanged between 2.8.2 and > 2.8.3[.3], but: > > [EMAIL PROTECTED] Work2]$ diff -urN sage-2.8.2/devel/c_lib/src/stdsage.h > sage-2.8.3.4/devel/sage-main/c_lib/stdsage.h > --- sage-2.8.2/devel/c_lib/src/stdsage.h2007-08-24 > 16:27:03.00000 +0200 > +++ sage-2.

[sage-support] Re: trouble compiling sage-2.8

2007-08-14 Thread Joel B. Mohler
On Tuesday 14 August 2007 17:58, William Stein wrote: > Does using the linbox package posted here work? > > http://sage.math.washington.edu/home/was/lj/ > > Download that and do >sage -f linbox-20070814.spkg Yes, that appears to fix my problem. Thanks -- Joel --~--~-~--~~---

[sage-support] Re: trouble compiling sage-2.8

2007-08-14 Thread Joel B. Mohler
Alex, Did you find a solution for this? I got the same error on my gentoo as well. I see you have later posts which make it appear that you have sage-2.8 installed. -- Joel On Monday 13 August 2007 11:47, Alex Ghitza wrote: > Hi, > > I'm trying to compile sage-2.8 and it breaks down on linb

[sage-support] Re: Maxima requested additional constraints in solve()

2007-06-09 Thread Joel B. Mohler
On Saturday 09 June 2007 13:16, William Stein wrote: > It would be more natural to write "assume(n in ZZ)", but this won't work, > since "n in ZZ" gets evaluated to false be Python before it gets passed > to the assume command. This was exactly what I tried when the original e-mail was sent out a

[sage-support] Re: Symbolic rings

2007-05-30 Thread Joel B. Mohler
On Wednesday 30 May 2007 15:27, William Stein wrote: > Now *that* is a crystal clear suggestion. This would be trivial to > implement. Here's the current situation. > In devel/sage/sage there are three files: all.py, all_cmdline.py, and > all_notebook.py > When you do "from sage.all import *" e

[sage-support] Re: Symbolic rings

2007-05-30 Thread Joel B. Mohler
On Wednesday 30 May 2007 14:00, Bobby Moretti wrote: > > On Wednesday 30 May 2007 12:14, William Stein wrote: > > > On 5/30/07, Joel B. Mohler <[EMAIL PROTECTED]> wrote: > > > > > There is currently no function to clear these, > > > > > so I j

[sage-support] Re: Symbolic rings

2007-05-30 Thread Joel B. Mohler
On Wednesday 30 May 2007 12:14, William Stein wrote: > On 5/30/07, Joel B. Mohler <[EMAIL PROTECTED]> wrote: > > > There is currently no function to clear these, > > > so I just wrote one. The attached patch adds a function clear_vars() > > > that when

[sage-support] Re: Symbolic rings

2007-05-30 Thread Joel B. Mohler
On Tuesday 29 May 2007 23:50, William Stein wrote: > > Is there a global > > toggle to turn on/off this behavior? I can see the value of this in an > > interactive setting, but when programming I would sometimes rather get > > an error when trying to refer to a previously undefined object. > > The

[sage-support] Re: Is it possible to use SAGE from regular python?

2007-04-30 Thread Joel B. Mohler
On Sun, Apr 29, 2007 at 09:09:47PM -, Ondrej Certik wrote: > > Thanks very much for the explanation. Yes, I know of: > > http://www.sagemath.org/doc/html/tut/node48.html#sec:standalone > > But as Timothy said, I want to use it like this: > > #!/usr/bin/env python > > import sys > from sa

[sage-support] Re: SAGE TA ?

2007-03-26 Thread Joel B. Mohler
On Monday 26 March 2007 07:44, Nikos Apostolakis wrote: > Hello group, > > has anybody tried to implement something like "Maple TA" in sage? > For example I would like to have students take placement exams with > "free form" answers. > > In case you don't know what Maple TA is: Actually, if your

[sage-support] Re: SAGE TA ?

2007-03-26 Thread Joel B. Mohler
On Monday 26 March 2007 07:44, Nikos Apostolakis wrote: > Hello group, > > has anybody tried to implement something like "Maple TA" in sage? > For example I would like to have students take placement exams with > "free form" answers. > > In case you don't know what Maple TA is: I'm interested in

[sage-support] another plotting question

2007-02-10 Thread Joel B. Mohler
Now that I've more thoroughly read the reference manual and understand more the logical structure of how to do thing, I'm even more impressed with the plotting. One question lingers though: Is there any way to include gridlines with-out coding my own? I've been enraged at maple for not suppo

[sage-support] Re: a plotting question

2007-02-10 Thread Joel B. Mohler
On Saturday 10 February 2007 10:20, David Joyner wrote: > Is this what you want? > > sage: f = lambda x:1/x > sage: p = plot(f(x),-4,4) > sage: show(p,xmin=-4,xmax=4,ymin=-4,ymax=4) Hmm, now I feel stupid ... I shouldn't have read the documentation. Neither the "show??" or "plot??" documentatio

[sage-support] a plotting question

2007-02-10 Thread Joel B. Mohler
I spent some time trying to make a pretty plot for my calculus quiz -- a plot of y=1/x. Ideally, I wanted a plot from -4..4 with range -4..4. Unfortunately, the plot command calculates the range intelligently and I could find no way to modify that behavior. Did I miss it? I must say that I

[sage-support] Re: Real points on elliptic curves

2007-02-08 Thread Joel B. Mohler
On Thu, Feb 08, 2007 at 01:22:46AM -0500, didier deshommes wrote: > > On 2/8/07, Luis Finotti <[EMAIL PROTECTED]> wrote: > > Thanks! I could not find that in the Reference Manual... > > > > On the other hand, it seems that Sage (or Python) does not handle > > equality of reals very well: > > Hi

[sage-support] Re: rational exponents in SAGE

2007-02-03 Thread Joel B. Mohler
On Saturday 03 February 2007 05:09, William Stein wrote: > That's a genuine bug, since x^maxima(3/4) is not 2.  It's now trac #239: >     http://sage.math.washington.edu:9002/sage_trac/ticket/239 Is this the same bug? The types involved seem very diverse, but the strange result appears remarkab