[sage-support] Re: Differential forms

2010-12-28 Thread jvkersch
> Hi Joris, > > I must say ain't a programmer, and my `free' time is not much. > However, I'd like to help you implementing the code for improving the > diff. forms manipulation. > > Feel free of contact me. Regards, > > Dox. > > On Dec 27, 4:51 am, jvk

[sage-support] Re: Differential forms

2010-12-26 Thread jvkersch
Hi Dox, Both are very high on my list of priorities, but I haven't gotten round to implementing them. If you give me a month or so, I might get round to it, or you can try your hand yourself at implementing this :) Let me know if I can be of any assistance. Best wishes, Joris On Dec 25, 12:4

[sage-support] Re: show()ing 3-tuples of matrices as images?

2010-12-10 Thread jvkersch
On Dec 9, 9:57 pm, Dan Drake wrote: > *facepalm* That was stupid -- matrix_plot() already accepts numpy arrays > of shape (x,y,3) and plots them as a color image exactly the way I want. > No need to mess around with pylab.imshow(). > > Sorry for the noise. Actually, your message gave me some g

[sage-support] Re: Idea for Sage notebooks (& question on getting funding to write these)

2010-11-12 Thread jvkersch
On 11 nov, 10:34, Jason Grout wrote: > [1]http://artsci.drake.edu/grout/doku.php/grants#nsf_ccli_phase_2_grant Hi Jason, I had a look at your project and noticed the example of visualizing row reduction for linear algebra students (where Sage prints out at each step which of the entries change,

[sage-support] Re: Deriving adjoint PDEs using sage, differentiating Lagrangians, substitute_function appearing not to work

2010-11-03 Thread jvkersch
Hi John, One of the problems is that F is a functional rather than an ordinary function. So the derivatives with respect to u are functional derivatives, and I dont think diff() can compute these without any help. Let's focus on one of the terms for instance: put f = u_x and consider =

[sage-support] Re: total differentiation

2010-10-09 Thread jvkersch
ting the result (the differential d f), the various partial derivatives are computed and put together in the right order. All the best, Joris. On 9 okt, 19:53, Oscar Lazo wrote: > On Oct 9, 2:58 pm, jvkersch wrote: > > > > > Hi Oscar, > > > In Sage 4.6 (currently 4.

[sage-support] Re: total differentiation

2010-10-09 Thread jvkersch
Hi Oscar, In Sage 4.6 (currently 4.6alpha2) you will be able to do this using differential forms: sage: x, y, z = var('x, y, z') sage: U = CoordinatePatch((x, y, z)) sage: F = DifferentialForms(U) sage: f = F(x^2 + y + sin(z)); f (x^2 + y + sin(z)) sage: g = f.diff(); g cos(z)*dz + 2*x*dx + dy

[sage-support] Re: Point-set topology in sage?

2010-08-09 Thread jvkersch
Hi all, at this stage I would also like to advertise trac 9650, which if it passes review would add support to Sage for differential form calculations. It's only a "small" step to algebraic topology from there. All the best Joris On 7 aug, 01:21, Mitesh Patel wrote: > On Thu, Jul 29, 2010 at 8:

[sage-support] Extended complex numbers

2010-05-03 Thread jvkersch
Hi all, Is there a way to do extended complex arithmetic in Sage? I mean, adding a constant infinity such that oo + a = oo, a*oo = oo for a != 0, etc. For now, I just made a small class wrapping a standard complex number, but I wouldn't be surprised if this was already in Sage, and done in a mu

[sage-support] Re: Sage/Maxima desolve_rk4 problem

2010-04-21 Thread jvkersch
ot! Joris On 20 apr, 15:20, "ma...@mendelu.cz" wrote: > On 20 dub, 09:39, jvkersch wrote: > > > Thanks Robert, this seems to be the problem.  I wish I were a lisp > > programmer so that I could dive into Maxima and put in a call to > > coerce-float-fun myself, but whi

[sage-support] Re: Sage/Maxima desolve_rk4 problem

2010-04-20 Thread jvkersch
which > evaluate expressions to numbers (e.g. plotting, quadpack). > > Follow-ups to the Maxima mailing list. I've appended > the original message below. > > best > > Robert Dodier > > PS. > > On Apr 19, 8:38 am, jvkersch wrote: > > > > > Tech

[sage-support] Sage/Maxima desolve_rk4 problem

2010-04-19 Thread jvkersch
Hi all, Technically, this is not a Sage problem, but I figured I would post it here anyway since others might have run into the same problem, and I'm also trying to solve the problem using some Sage/python trickery. The problem concerns the use of symbolic constants such as pi in numerical integr