Re: [sage-support] Solving differential equations with unit_step?

2012-01-10 Thread asmeurer
Great. Ask on the sympy list if you have any problems. He's also got a branch https://github.com/sympy/sympy/pull/543 that should improve the integration capabilities of SymPy even more (esp. for definite integrals). It should be merged pretty soon. Aaron Meurer On Jan 9, 2:01 pm, Renan Birck P

[sage-support] Problems with rank and HasseDiagram

2012-01-10 Thread Raymond N. Greenwell
Hello everyone! I tried using the HasseDiagram and rank features of Sage as described on http://www.sagemath.org/doc/reference/sage/combinat/posets/hasse_diagram.html Things worked ok, but when I then tried: m= Matrix([[0,1,1],[0,0,1],[0,0,0]]) g = DiGraph(m) h2 = HasseDiagram(g) h2.rank(2) I go

[sage-support] List of operations on vector functions?

2012-01-10 Thread LFS
Hi I looked around quite a bit but probably not in the right places? I found I can define a vector function and how to get its derivative vector function. Is there a way to get at the component functions and/or a way to calculate the magnitude function of rprime? var ('t') r=vector(t,t^2,t^3) rpri

[sage-support] 'plotjoined=False' puts the plot to back

2012-01-10 Thread v_2e
Hello! I discovered today that if I list_plot two lists on the same graph, the order of the curves depends on the value of the 'plotjoined' parameter. I want to plot one list with joined points (theoretical curve) and the second list with scattered points (experimental points). Naturally, I

[sage-support] Re: 'plotjoined=False' puts the plot to back

2012-01-10 Thread Johan Grönqvist
2012-01-10 23:19, v...@ukr.net skrev: But setting the 'plotjoined' parameter to "False" puts them to the back, the theoretical curve overlaps them, and some of them are not visible. In any case, could somebody please tell me how to get the desired result in Sage? I seem to succeed by setti

[sage-support] Re: List of operations on vector functions?

2012-01-10 Thread John H Palmieri
On Tuesday, January 10, 2012 2:03:23 PM UTC-8, LFS wrote: > > Hi > I looked around quite a bit but probably not in the right places? > I found I can define a vector function and how to get its derivative > vector function. > Is there a way to get at the component functions and/or a way to >

[sage-support] Re: Solving differential equations with unit_step?

2012-01-10 Thread achrzesz
On Jan 9, 6:39 pm, Renan Birck Pinheiro wrote: > Hi, > > I'm trying to solve a differential equation with unit step, e.g. the > equation y'(x) = U(x-5) - where U is the unit step, and the inicial > condition y(0) is 0. > > The result is 0 for 05 (it's a simple integral of the > unit step functio

Re: [sage-support] Re: Solving differential equations with unit_step?

2012-01-10 Thread Michael Orlitzky
On 01/10/2012 06:33 PM, achrzesz wrote: On Jan 9, 6:39 pm, Renan Birck Pinheiro wrote: Hi, I'm trying to solve a differential equation with unit step, e.g. the equation y'(x) = U(x-5) - where U is the unit step, and the inicial condition y(0) is 0. The result is 0 for 05 (it's a simple integ

Re: [sage-support] issue with combining sub lists into a list

2012-01-10 Thread Maarten Derickx
Note that: sum(a,[]) gets incredibly slow when a contains a lot of lists (it's runtime complexity is kwadratic in the number of lists in a). So it's better to do: l=[] for i in A: l.extend(i) -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this grou

Re: [sage-support] Problems with rank and HasseDiagram

2012-01-10 Thread Michael Orlitzky
On 01/10/2012 11:37 AM, Raymond N. Greenwell wrote: Hello everyone! I tried using the HasseDiagram and rank features of Sage as described on http://www.sagemath.org/doc/reference/sage/combinat/posets/hasse_diagram.html Things worked ok, but when I then tried: m= Matrix([[0,1,1],[0,0,1],[0,0,0]

Re: [sage-support] Problems with rank and HasseDiagram

2012-01-10 Thread Michael Orlitzky
On 01/10/2012 09:17 PM, Michael Orlitzky wrote: We could do a lot better here -- I had to read the source for DiGraph.__init__ -- but it looks like when you called DiGraph(m), it considered 'm' to be an adjacency matrix. Or maybe I'm just bad at looking. DiGraph() is actually fairly well-docu