Re: [sage-support] Entering matrices whose elements are functions of row/column indices?

2010-03-13 Thread David Joyner
Here is another way: sage: coeffs = [[i^2-j for j in range(6)] for i in range(6)] sage: matrix(coeffs) [ 0 -1 -2 -3 -4 -5] [ 1 0 -1 -2 -3 -4] [ 4 3 2 1 0 -1] [ 9 8 7 6 5 4] [16 15 14 13 12 11] [25 24 23 22 21 20] On Sat, Mar 13, 2010 at 7:58 AM, Alasdair amc...@gmail.com wrote: This

[sage-support] Re: [sage-edu] interact - how to use loop for iteration to draw many inputbox

2010-03-05 Thread David Joyner
I don't know, but I'm ccing sage-support just in case someone there knows. On Fri, Mar 5, 2010 at 1:16 AM, marius_darie dariemar...@gmail.com wrote: Dear all, How to use loop for iteration to draw many inputbox (interact). I do not want use input_grid because just one label is accepted for

Re: [sage-support] On computing logarithm in a finite field

2010-03-05 Thread David Joyner
Did you also try discrete_log(a,b)? On Fri, Mar 5, 2010 at 7:03 AM, yujia chiu woodc...@gmail.com wrote: Dear all, I tried to compute the logarithm of b based a in a finite field. But it seemed that the b.log(a) command in sage only works when a generates the multiplicative group of the

Re: [sage-support] Scientific Notation

2010-03-03 Thread David Joyner
Type RealField? to read the instrucitons. I think it is RealField(sci_not=True) or something like that. On Wed, Mar 3, 2010 at 12:41 PM, Oscar Castillo-Felisola o.castillo.felis...@gmail.com wrote: Hi everybody! I'd like to know if there is a way of say Sage to return a result in scientific

Re: [sage-support] image of a complex function

2010-03-02 Thread David Joyner
Does http://trac.sagemath.org/sage_trac/ticket/6648 help? On Tue, Mar 2, 2010 at 6:06 PM, davidp dav...@reed.edu wrote: For a class I am teaching, I would like to display an image in the plane---say a png-file--- and show how it is transformed under a complex function f: C -- C.  What is the

Re: [sage-support] subgroup lattice

2010-03-01 Thread David Joyner
On Mon, Mar 1, 2010 at 1:26 PM, Dana Ernst dcer...@plymouth.edu wrote: Is there a way to obtain a subgroup lattice for finite groups? I defined a finite group G and did G.? tab but didn't see anything that would do this. Any tips? One way: sage: G = SymmetricGroup(3) sage: GG = gap(G)

Re: [sage-support] Conformal Mapping

2010-03-01 Thread David Joyner
Is http://trac.sagemath.org/sage_trac/ticket/6648 related to what you want? On Mon, Mar 1, 2010 at 12:39 PM, Adrián rhsol...@gmail.com wrote: Hi, I was just wondering if Sage has any function implemented to do conformal mappings? Or better yet, is there a way in which I can do some conformal

Re: [sage-support] Re: subgroup lattice

2010-03-01 Thread David Joyner
On Mon, Mar 1, 2010 at 6:18 PM, Simon King simon.k...@nuigalway.ie wrote: Hi David! On 1 Mrz., 20:08, David Joyner wdjoy...@gmail.com wrote: On Mon, Mar 1, 2010 at 1:26 PM, Dana Ernst dcer...@plymouth.edu wrote: Is there a way to obtain a subgroup lattice for finite groups?  I defined

[sage-support] graph circuits in Sage

2010-02-28 Thread David Joyner
, 12, None), (4, 9, None), (5, 6, None), (6, 11, None), (7, 8, None), (12, 13, None)] sage: G.girth() 6 sage: TG.girth() 6 This has the circuit 0 - 1 - 2 - 3 - 12 - 13 - 0 of length 6. I'd like to know if there is an easy way to get Sage to return the corresponding list of edges. - David Joyner

[sage-support] Re: graph circuits in Sage

2010-02-28 Thread David Joyner
(P))] return cycle On Sun, Feb 28, 2010 at 5:42 AM, David Joyner wdjoy...@gmail.com wrote: Hi: I'm trying to compute fundamental circuits of a graph in Sage and am getting stuck. Is this implemented? Here is an example: sage: G = graphs.HeawoodGraph() sage: TG = G.subgraph(edges

[sage-support] Re: graph circuits in Sage

2010-02-28 Thread David Joyner
[i+1]) cycle = cycle+[e for e in E1 if e in E2] return cycle On Sun, Feb 28, 2010 at 7:44 AM, David Joyner wdjoy...@gmail.com wrote: I'll answer my own question:-) There is an easily written function which does this: ... On Sun, Feb 28, 2010 at 5:42 AM, David Joyner wdjoy

Re: [sage-support] Re: graph circuits in Sage

2010-02-28 Thread David Joyner
On Sun, Feb 28, 2010 at 8:57 AM, Nathann Cohen nathann.co...@gmail.com wrote: Hello By the fundamental circuits, do you mean a base of the Cycle space ? If so, I have to admit I do not know how to do it... I just posted some code to compute the cycle space to

Re: [sage-support] Letting users access Sage via HTTP

2010-02-27 Thread David Joyner
On Sat, Feb 27, 2010 at 5:19 PM, Sam'l B sa...@samlb.ws wrote:        Can anyone point me to the part of the Fine Manual which describes how to set up Sage to let users not on the Sage server access via HTTP (I.e. 'http://192.168.1.99:8000') ? ? I think it is easier if you just type notebook?

Re: [sage-support] Re: Solve recurrences using Sage ?

2010-02-10 Thread David Joyner
On Wed, Feb 10, 2010 at 8:50 AM, Walking Randomly michael.p.crouc...@googlemail.com wrote: Regarding namespace pollution.  Mathematica has thousands of function names in it's global namespace but it never causes programmers a problem because they have a convention.  All mathematica functions

Re: [sage-support] indicator functions

2010-02-09 Thread David Joyner
On Tue, Feb 9, 2010 at 2:06 PM, zsharon zacherysha...@gmail.com wrote: Hello, I'm looking at convolution products of Lebesgue integrable functions, and to get a better visualization, I want to compute some convolutions of indicator functions. So, want to have a function f:R-R defined by

Re: [sage-support] Re: indicator functions

2010-02-09 Thread David Joyner
On Tue, Feb 9, 2010 at 6:08 PM, zsharon zacherysha...@gmail.com wrote: But convolutions are already implemented for functions in the Piecewise class. Is there a problem you were having with that? The only convolution I found in the reference manual is for lists only.  Can you link me to a

Re: [sage-support] Re: how to stop a Sage program from consuming all available memory?

2010-02-07 Thread David Joyner
On Sun, Feb 7, 2010 at 12:30 PM, zieglerk konstantin.zieg...@gmail.com wrote: I'm using sage from the command line (or more precisely through emacs sagemode). Let me ask the opposite question:  How can I allocate *more* memory to the sage process.  Sometimes extensive calculations break of

Re: [sage-support] How to contour_plot piecewise defined function?

2010-02-02 Thread David Joyner
I personally don't see how off the top of my head, but if you figure out a way to do it, please post it! Maybe reading to source code of Piecewise and/or contour_plot might help? On Tue, Feb 2, 2010 at 1:00 PM, Eugene Goldberg omegat...@gmail.com wrote: Hi! I've got a few functions like

[sage-support] Re: [sage-edu] probability

2010-01-28 Thread David Joyner
Sorry, I don't know. But I'm cc'ing the sage-support list, whichmight have more people who know more about Sage's functionality for doing probability and statistic computations. On Thu, Jan 28, 2010 at 4:09 PM, michel paul mpaul...@gmail.com wrote: Next week we start probability, and I'm

Re: [sage-support] Re: text3d and latex

2010-01-26 Thread David Joyner
On Tue, Jan 26, 2010 at 3:53 PM, Thomas Scofield scofi...@calvin.edu wrote: To what does #7872 refer?  And is that a reply to O. Lazo, or to my post? http://trac.sagemath.org/sage_trac/ticket/7872 On Jan 26, 2010, at 2:56 AM, William Cauchois wrote: Check out #7872, Jason! On Jan 23,

Re: [sage-support] Re: Octave in Sage?

2010-01-07 Thread David Joyner
On Wed, Jan 6, 2010 at 10:59 PM, kcrisman kcris...@gmail.com wrote: For instance, only the time independent problems in quantum mechanics can be solved with Sage and therefore one needs to find an alternative to Sage to solve (numerically) the time dependent problems. This is a limitation

Re: [sage-support] Fwd: sage q

2010-01-01 Thread David Joyner
I agree this is not a well-defined question but the questioner may want to look at http://www.gap-system.org/Manuals/doc/htm/tut/CHAP005.htm#SECT004 . I also suggest starting with smaller groups to begin with, if possible, to test out things. On Thu, Dec 31, 2009 at 9:12 PM, Alex Ghitza

Re: [sage-support] Was: Graph plotting and labels

2009-12-17 Thread David Joyner
On Thu, Dec 17, 2009 at 2:55 PM, Christian Szegedy christian.szeg...@gmail.com wrote: Not an answer, but a side question (probably belongs to sage-devel, anyhow...) Why would you use BDDs in the first place? For almost any applications, SAT-solvers beat BDDs by large margins, and also have

Re: [sage-support] Re: Integration of piecewise function

2009-12-13 Thread David Joyner
version? (may be I should use older version of sage) On 8 дек, 21:47, David Joyner wdjoy...@gmail.com wrote: Unfortunately, the piecewise class was written before the symbolic expressions class and has not kept pace. The obvious solution produced this: sage: signal = Piecewise([[(0,1

Re: [sage-support] Re: unsubscribe

2009-12-08 Thread David Joyner
On Tue, Dec 8, 2009 at 12:08 PM, Robert Bradshaw rober...@math.washington.edu wrote: On Dec 8, 2009, at 8:05 AM, kcrisman wrote: I don't get why people can't unsubscribe themselves? They can. This is footer is wrong: To post to this group, send email to sage-support@googlegroups.com To

Re: [sage-support] Integration of piecewise function

2009-12-08 Thread David Joyner
Unfortunately, the piecewise class was written before the symbolic expressions class and has not kept pace. The obvious solution produced this: sage: signal = Piecewise([[(0,1), cos(2*pi*1*x)], [(-1, 0), 0*x]]) sage: signal.integral(definite=True)

Re: [sage-support] Re: Server Wars!

2009-11-17 Thread David Joyner
Nassau Community College -Original Message- From: David Joyner wdjoy...@gmail.com To: sage-support@googlegroups.com Sent: Sat, Nov 14, 2009 11:03 am Subject: [sage-support] Re: Server Wars! On Sat, Nov 14, 2009 at 10:52 AM,  calcp...@aol.com wrote: BTW, I currently have 3 Linux

[sage-support] Re: Server Wars!

2009-11-14 Thread David Joyner
On Sat, Nov 14, 2009 at 10:52 AM, calcp...@aol.com wrote: BTW, I currently have 3 Linux servers at school.  One is an ftp server to share files with my students. Another is an sftp server where my students can login to save their work.  And another is down right now and was an apache

[sage-support] Re: Laplace solve:

2009-11-11 Thread David Joyner
transforms don't solve non linear ode's. Sorry :p On Nov 11, 12:01 pm, David Joyner wdjoy...@gmail.com wrote: On Wed, Nov 11, 2009 at 1:19 PM, Jaasiel Ornelas jrodri1...@gmail.com wrote: I can't get desolve_laplace to give me a good output. I had already tried the regular solve (desolve

[sage-support] Re: [GAP Support] Question regarding remote access to GAP

2009-11-09 Thread David Joyner
There may be others but here is one: 1. Go to http://www.sagenb.org/ with your browser (firefox is recommended). 2. Register for a new account (if you don't have one already). 3. Sign in. 4. Click on New worksheet. 5. Title your worksheet GAP something or other. 6. On the 4th drop down menu near

[sage-support] Re: Gap Undeposited Implementations

2009-11-07 Thread David Joyner
I posted a new version of the braid package at http://www.opensourcemath.org/braid/ If you extract it in sage*/local/lib/gap*/pkg and then start GAP by sage -gap, then it loads using gap LoadPackage(braid); On Wed, Nov 4, 2009 at 10:27 PM, Adam Sorkin azsor...@hotmail.com wrote: I am trying

[sage-support] Re: Gap Undeposited Implementations

2009-11-05 Thread David Joyner
Okay. Here is what will work. The package loading mechanism has changed so my quick hack to create a package from Maagard et al's files will not work now. I'll try to fix it eventually when I have time... 1. Download and extract Maagard's tarball anywhere, say to /Users/me/gapfiles/braid (so

[sage-support] Re: maxima to sage

2009-11-03 Thread David Joyner
Does this help? sage: f = maxima(x^2-1) sage: type(f) class 'sage.interfaces.maxima.MaximaElement' sage: ff = f.sage() sage: type(ff) type 'sage.symbolic.expression.Expression' sage: ff.factor() (x - 1)*(x + 1) On Tue, Nov 3, 2009 at 3:28 PM, Mikie thephantom6...@hotmail.com wrote: Is

[sage-support] Re: f.subs(2)?

2009-10-31 Thread David Joyner
Do you mean this? sage: f = x^2+1 sage: f(x=2) 5 sage: f(2) /Users/wdj/sagefiles/sage-4.1.2.rc2/local/lib/python2.6/site-packages/IPython/iplib.py:2073: DeprecationWarning: Substitution using function-call syntax and unnamed arguments is deprecated and will be removed from a future release of

[sage-support] Re: Creating a growing array in sage

2009-10-31 Thread David Joyner
On Sat, Oct 31, 2009 at 3:05 PM, yotama9 yota...@gmail.com wrote: Hello. I have several files of data that I want to merge into a single array and then manipulate it (adding a single column to all the column etc.) Each file is constructed of two columns. I want to take the columns of the

[sage-support] Re: publishing a worksheet

2009-10-31 Thread David Joyner
On Sat, Oct 31, 2009 at 5:56 PM, calcp...@aol.com wrote: OK, what does sharing mean then?  And how do I publish a worksheet instead? Sharing is if yo want to share with a particular user on the server. For example, I have my students work out a Sage exercise and, instead of printing it out

[sage-support] Re: publishing a worksheet

2009-10-31 Thread David Joyner
On Sat, Oct 31, 2009 at 9:04 PM, Jason Grout jason-s...@creativetrax.com wrote: David Joyner wrote: On Sat, Oct 31, 2009 at 5:56 PM,  calcp...@aol.com wrote: OK, what does sharing mean then?  And how do I publish a worksheet instead? Sharing is if yo want to share with a particular user

[sage-support] Re: Finding a potential function in Sage

2009-10-29 Thread David Joyner
Its exact, so you can do this: sage: x = var(x) sage: y = function(y,x) sage: M = x-y sage: N = -x+y^2 sage: desolve(diff(y,x)==-M/N,y) 1/2*x^2 + 1/3*y(x)^3 - x*y(x) == c On Thu, Oct 29, 2009 at 12:51 PM, Jason Grout jason-s...@creativetrax.com wrote: I'm writing a worksheet for calc 3, and

[sage-support] Re: Finding a potential function in Sage

2009-10-29 Thread David Joyner
On Thu, Oct 29, 2009 at 6:57 PM, Jason Grout jason-s...@creativetrax.com wrote: Jason Grout wrote: I'll probably just write a short function to do that, based on the algorithm the students have seen.  It's probably good for them that way anyway. So I did this now: One last post on this

[sage-support] Re: sage on a netbook

2009-10-28 Thread David Joyner
I have a windows XP dell mini at work and sage runs fine as a vmware application. The 3d plotting is a bit slow though. I'll try out the new virtualbox image when I get a chance. On Wed, Oct 28, 2009 at 9:11 AM, Daniel Harris mail.dhar...@googlemail.com wrote: Hello I have just bought some

[sage-support] Re: sorry for the little issue

2009-10-28 Thread David Joyner
Done On Wed, Oct 28, 2009 at 2:26 PM, Afonso Henriques Slva Leite afonsole...@ymail.com wrote: But I can't unsubscribe using the email provided in the messages! Please unsubscribe me! --~--~-~--~~~---~--~~ To post to this group, send email to

[sage-support] Re: Piecewise function definition

2009-10-27 Thread David Joyner
On Tue, Oct 27, 2009 at 10:55 AM, all_thumbs sch...@hsva.de wrote: Hi Dave, On Jul 22, 12:56 am, David Joyner wdjoy...@gmail.com wrote: ... I'm not sure what you are going to do with yourfunction. If it is just for plotting, say, I think you might just want to use def f(x,y

[sage-support] Re: Non-semisomplemodules

2009-10-20 Thread David Joyner
, David Joyner wdjoy...@gmail.com wrote: What type of module? Sage contains GAP, which might do what you want http://www.gap-system.org/Manuals/doc/htm/ref/chapters.htm On Tue, Oct 20, 2009 at 7:32 AM, adam mohamed adam.hariv...@googlemail.com wrote: Hi All, Is it possible to compute

[sage-support] Re: Non-semisomplemodules

2009-10-20 Thread David Joyner
know the generators of the modules but I am not sure how to describe it as a Meataxe module. On Tue, Oct 20, 2009 at 3:52 PM, David Joyner wdjoy...@gmail.com wrote: Can you describe it as a Meataxe module? http://www.gap-system.org/Manuals/doc/htm/ref/CHAP067.htm On Tue, Oct 20, 2009 at 8:04

[sage-support] Re: Membership in the SAGE support group

2009-10-15 Thread David Joyner
We generally reject such membership requests as they are assumed to be spammers. Sorry for the inconvenience. On Thu, Oct 15, 2009 at 5:02 AM, domingo.sala...@syngenta.com wrote: Dear Colleague, I requested to become a member of the SAGE support group but I have not been contacted about

[sage-support] Re: desolve - my missunderstanding or a bug in Sage?

2009-10-07 Thread David Joyner
On Wed, Oct 7, 2009 at 9:45 AM, ma...@mendelu.cz ma...@mendelu.cz wrote: ... Still do not understand the problem related to desolve_laplace Should only the way how to define variables been fixed? Or should be fixed the fact, that the equation is expected as lambda expression? The

[sage-support] Re: desolve - my missunderstanding or a bug in Sage?

2009-10-03 Thread David Joyner
This is a known bug. Marshall and I tried to fix it during a SageDays in Seattle but failed to figure out the magic in Robert Bradshaw's code for desolve. I think it is easy to fix for those who know how to fix it easily, but that rules me out:-) On Sat, Oct 3, 2009 at 3:30 AM,

[sage-support] Re: Can't plot anything

2009-09-25 Thread David Joyner
I guess you are using a mac, but can you tell us what version the OS is and what version of Sage you are running? Is it a binary, for example? (This might help others on the list diagnose the problem.) On Fri, Sep 25, 2009 at 7:18 AM, Swanhild Bernstein swanhild.bernst...@math.tu-freiberg.de

[sage-support] Re: Help with euler's equation.

2009-09-24 Thread David Joyner
You could try x,y = var(x,y) dy_dxB(x,y) = cos(x) - sin(x) - y eulers_method(dy_dxB,0,2,0.1,3) but I don't know why Sage will not evaluate the cos and sin terms, so you end up with a long messy hybrid symbolic/numberical expression. If you use instead eulers_method(dy_dxB,0,2,0.1,3,

[sage-support] Re: desolve_system

2009-09-22 Thread David Joyner
Just a guess: your system is non-linear and that causes a problem somehow. If you modify the linear terms you get sage: t = var('t') sage: z = function('z',t) sage: y1= function('y1',t) sage: y2= function('y2',t) sage: sage: b = 3/100; r1 = 6; r2 = 1/2; gamma = 1/100; ro = 6; sage: De1 =

[sage-support] Re: GAP logfile

2009-09-19 Thread David Joyner
On Sat, Sep 19, 2009 at 8:09 AM, Simon King simon.k...@nuigalway.ie wrote: Sometimes it helps to read the (GAP) manual... I found that GAP offers the possibility to log input, output, or both. So, simply I start my computations with gap.eval('LogTo(gaplog)'), and then all input (including

[sage-support] Re: how to initialize and use the R interface to sage

2009-09-19 Thread David Joyner
I don't use R but just googled for your question and found this was asked about 2 years ago: http://groups.google.com/group/sage-devel/browse_thread/thread/d920f1ba1f28aa44 Hopefully that is still relevant. You might also find something of interest in this thread:

[sage-support] Re: Lie Theory

2009-09-16 Thread David Joyner
On Wed, Sep 16, 2009 at 4:50 PM, Kjetil Halvorsen kjetil1...@gmail.com 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?

[sage-support] Re: Doctesting in parallel

2009-09-07 Thread David Joyner
On Sat, Sep 5, 2009 at 1:40 AM, Minh Nguyennguyenmi...@gmail.com wrote: Hi kcrisman, On Sat, Sep 5, 2009 at 2:24 AM, kcrismankcris...@gmail.com wrote: SNIP works fine.  What am I doing wrong?  And can someone add documentation about the exact syntax, if not? I have written some

[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 Leiteafonsole...@ymail.com 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...

[sage-support] Re: English grammar of numbers

2009-08-29 Thread David Joyner
On Sat, Aug 29, 2009 at 7:46 AM, Simon Kingsimon.k...@nuigalway.ie wrote: Hi Minh, On Aug 29, 12:32 pm, Minh Nguyen nguyenmi...@gmail.com wrote: On Sat, Aug 29, 2009 at 9:30 PM, Minh Nguyennguyenmi...@gmail.com wrote: [...] And we do this: a one not an one, even though one starts with a

[sage-support] Re: English grammar of numbers

2009-08-29 Thread David Joyner
On Sat, Aug 29, 2009 at 8:11 AM, wol...@gmail.com 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.

[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.

[sage-support] Re: Differential Calculus and Sage

2009-08-28 Thread David Joyner
On Fri, Aug 28, 2009 at 2:32 PM, Minh Nguyennguyenmi...@gmail.com 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

[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, EHFhesamif...@gmail.com 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 Kingsimon.k...@nuigalway.ie 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),

[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 Sarkarsarkar.santanu@gmail.com 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

[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 Cremonajohn.crem...@gmail.com

[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 Kingsimon.k...@nuigalway.ie 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

[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

[sage-support] Re: A problem of memory

2009-08-11 Thread David Joyner
/sage_trac/ticket/371 On 11 août, 16:04, David Joyner wdjoy...@gmail.com 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 program

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

2009-08-10 Thread David Joyner
it a little bit and introduced a footer to that page. Font is bigger, too. H On Aug 8, 3:48 pm, David Joyner wdjoy...@gmail.com wrote: 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

[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 Nguyennguyenmi...@gmail.com wrote: Hi David, On Mon, Aug 10, 2009 at 10:29 PM, David Joynerwdjoy...@gmail.com wrote: On Mon, Aug 10, 2009 at 7:56 AM, Harald Schillyharald.schi...@gmail.com wrote: i would like to know what was the reason why you

[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 Steinwst...@gmail.com wrote: Hi, If you're an OS X user of Sage, and want to spend a few

[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 Nguyennguyenmi...@gmail.com wrote: Hi Offray, On Thu, Jul 30, 2009 at 8:23 AM, Offray Vladimir Luna Cárdenasoffray.l...@javeriana.edu.co wrote: Hi, Two students are interested in making the graph of the black body[1][2] with Sage and making it

[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 Pellegrinicp...@uic.edu wrote: Hi, How can I unsubscribe from

[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, surfermailingslis...@googlemail.com 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

[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, surfermailingslis...@googlemail.com 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: Piecewise function definition

2009-07-21 Thread David Joyner
On Tue, Jul 21, 2009 at 5:35 PM, Dougmcke...@gmail.com 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

[sage-support] Re: Piecewise function definition

2009-07-21 Thread David Joyner
On Tue, Jul 21, 2009 at 6:08 PM, Dougmcke...@gmail.com 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:

[sage-support] Re: Problem with show

2009-07-19 Thread David Joyner
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 my example.  Or maybe or kdvi is different versions? Yes, I

[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: 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 Muktibodhamukti2...@gmail.com 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

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

2009-07-14 Thread David Joyner
On Tue, Jul 14, 2009 at 6:37 AM, mac8090bonzerpot...@hotmail.com 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

[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, Alasdairamc...@gmail.com 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

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

2009-06-26 Thread David Joyner
, but of you can modify the code to give you what you want. On Fri, Jun 26, 2009 at 3:50 AM, David Sevillasevil...@gmail.com wrote: Hi, On Jun 25, 9:12 pm, David Joyner wdjoy...@gmail.com wrote: I know multiplication is very finicky. You might try using R.t = PolynomialRing(RR, t) instead, but I'm

[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.t = 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 Sevillasevil...@gmail.com wrote: Hi, I am

[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 rki...@gmail.com wrote: I

[sage-support] Re: API up

2009-06-18 Thread David Joyner
Cool! On Thu, Jun 18, 2009 at 12:46 PM, Mikiethephantom6...@hotmail.com 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

[sage-support] Re: factor

2009-06-16 Thread David Joyner
Is this what you mean? sage: R.x = 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, Mikiethephantom6...@hotmail.com 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

[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 Steinwst...@gmail.com wrote: On Sun, Jun 14, 2009 at 6:56 PM, Mauriziomaurizio.gran...@gmail.com wrote: ... Anyway, I updated the wiki page since I successfully installed Unum in SAGE. You can see the (pretty encouraging) results there:

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

2009-06-12 Thread David Joyner
On Fri, Jun 12, 2009 at 5:27 AM, Mauriziomaurizio.gran...@gmail.com 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

[sage-support] Re: Optimization Resources

2009-06-12 Thread David Joyner
On Fri, Jun 12, 2009 at 9:33 AM, evlu...@gmail.comevlu...@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/

[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: 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 jhpalmier...@gmail.com wrote: On Jun 3, 12:16 pm, Jason Grout jason-s...@creativetrax.com 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

[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 par...@hood.edu 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: BTW I

[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 par...@hood.edu 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] Re: Difference equations?

2009-05-30 Thread David Joyner
On Sat, May 30, 2009 at 10:50 PM, Alasdair amc...@gmail.com 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

[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 kurda...@yahoo.com 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

[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 in-jae@mnsu.edu 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)

[sage-support] Re: unsubscribe

2009-05-18 Thread David Joyner
done On Sat, May 16, 2009 at 10:01 PM, tony glaser glase...@yahoo.com wrote: Unsubscribe Unsubscribe address not working. Please remove me. Tony Glaser 613.808.8413 www.technicallytony.com --- On Sat, 5/16/09, Paul Sargent psa...@gmail.com wrote: From: Paul Sargent psa...@gmail.com

[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, simon.k...@uni-jena.de wrote: Dear Jim, On May 15, 4:03 am, jimfar jamesfar...@mac.com 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,

[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 jamesfar...@mac.com 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?

<    1   2   3   4   5   6   7   8   >