Re: [sage-support] SAGE and .NET interoperability.

2010-01-03 Thread Carlos Córdoba
Gentoo has the ability to compile software in Microsoft's SUA. Maybe it could be useful to port sage. You can check out some docs here . 2010/1/3 Dima Pasechnik > Dave, > it makes no sense to compare cygwin and virtualbox by Googlehits. > Cygwin

Re: [sage-support] Creating Repeating Composite Functions

2009-12-20 Thread Carlos Córdoba
Hi, There is a function in Mathematica that does exactly what you want and it's called Nest. I've reimplemented it in python as general effort to port some functional tools that I like to python. Please check this link if you are interested on it: http://bitbucket.org/juliusc/functional/src/tip/f

Re: [sage-support] Easiest method to solve a PDE

2009-12-20 Thread Carlos Córdoba
Thanks a lot for all your answers, they are really helpful. El 19 de diciembre de 2009 11:43, Jorge E. ´Sanchez Sanchez < hnr...@hotmail.com> escribió: > Hi Carlos, > > there is a very good library to solve these partial differential equations > in C++, which I recommend you > you can google: de

[sage-support] Easiest method to solve a PDE

2009-12-18 Thread Carlos Córdoba
Hi, I know this is not a general mathematical forum, but I hope you can help me. I have this PDE: \frac{dB}{dt} = F(x,y,z)B(x,y,z) - G(x,y,z)\nabla B(x,y,z) and I don't know how to solve it numerically. What would be the easiest method to do it? It can be in python, but preferably in C++. Thank

Re: [sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Carlos Córdoba
2009/12/14 Robert Bradshaw > On Dec 14, 2009, at 12:15 PM, Dag Sverre Seljebotn wrote: > > > Robert Bradshaw wrote: > >> On Dec 14, 2009, at 11:43 AM, Carlos Córdoba wrote: > >> > >>> I have to agree with Marshall, because it could be confusing for new

Re: [sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Carlos Córdoba
I have to agree with Marshall, because it could be confusing for new sage users that come from python to see such a different syntax meaning. But what about the Mathematica syntax? Could it be adopted by sage? The problem is that most CAS are functional in nature and the first thing one tries to

Re: [sage-support] An abbreviation for lambda?

2009-12-14 Thread Carlos Córdoba
I don't think it would be so hard to do but this could break interoperability with Python, the language on which Sage is based. Besides it could make Sage like a dialect of python, something that sage devs don't want to do. Unfortunately python is not a very friendly functional programming languag

Re: [sage-support] Re: Is it possible to do a binary upgrade similar to sage -upgrade?

2009-11-25 Thread Carlos Córdoba
Thanks for the tip Mike. I'll investigate this approach and report progress, if I make some. Carlos 2009/11/24 Mike Hansen > Another option might be using a unionfs overlay to monitor the files > that get installed / changed during the installation of an spkg. I'm > not sure about deleted file

Re: [sage-support] Re: Is it possible to do a binary upgrade similar to sage -upgrade?

2009-11-23 Thread Carlos Córdoba
William, I think what Dan is proposing is just to use an old tarball and an intelligent algorithm to auto-magically recreate the latest one. Then the user would have to uncompress it so he/she could use the new sage. I don't think this could be done inside sage itself. 2009/11/23 William Stein

Re: [sage-support] Re: Is it possible to do a binary upgrade similar to sage -upgrade?

2009-11-23 Thread Carlos Córdoba
An xdelta or something like that, which could be joined with a previous tarball to form the latest release would be great. Besides, wouldn't it be possible to create binary spkg's that instead of containing the source code would contain the binaries and data which result after compilation? You cou

[sage-support] Is it possible to do a binary upgrade similar to sage -upgrade?

2009-11-23 Thread Carlos Córdoba
Hi all, Given the fast development pace of sage, I would like to know if it's possible to do a binary upgrade between releases, similar to what sage -upgrade does now. I think it's a bit cumbersome to download 400-500 gigs and uncompress this big tarball every month - two months, especially for pe

[sage-support] Re: Poisson law, binomial law, etc.

2009-10-30 Thread Carlos Córdoba
Could it be possible to put this module under the main sage import? I think it's very important to easily find the large support sage has, through scipy, to do statistical analysis. Until I read this I thought that Sage didn't have any support for statistics at all. I looked for a mean and standar

[sage-support] Re: Is it possible to replace the list built-in type in Sage?

2009-08-02 Thread Carlos Córdoba
On Sun, Aug 2, 2009 at 2:00 PM, William Stein wrote: > > On Sun, Aug 2, 2009 at 9:13 AM, Robert Dodier > wrote: > > > > Robert Bradshaw wrote: > > > >> Sage lists are Python lists, which are very different than > >> Mathematica lists. > > > > You say that as if it's a fact of geography which can'

[sage-support] Re: Is it possible to replace the list built-in type in Sage?

2009-07-17 Thread Carlos Córdoba
, Laurent wrote: > > Carlos Córdoba ha scritto: > >> [[cos(a/9), sin(a/9)] for a in [b+3 for b in [2*c for c in [1,2,3 > >> > >> (This is using a/9 instead of a/max(z) since I don't know how to do > >> 'max(z)' in a one-liner like this.

[sage-support] Re: Is it possible to replace the list built-in type in Sage?

2009-07-17 Thread Carlos Córdoba
> [[cos(a/9), sin(a/9)] for a in [b+3 for b in [2*c for c in [1,2,3 > > (This is using a/9 instead of a/max(z) since I don't know how to do > 'max(z)' in a one-liner like this.) > Thanks John, when I was talking about unreadable comprehensions I was meaning this. i.e. nested ones. Then was whe

[sage-support] Re: sort a list

2009-07-15 Thread Carlos Córdoba
This is not about RTFM, because L1.sort() doesn't produce any result. It just modifies the original list in place. I think that Mikie wants to assign the sorted list to another list. In that case what you need is the sorted command: sage: L1 = [56,2,4,10] sage: sort_L1 = sorted(L1) sage: sort_L1

[sage-support] Re: Is it possible to replace the list built-in type in Sage?

2009-07-14 Thread Carlos Córdoba
wrote: > > > > On Jul 14, 1:52 pm, Carlos Córdoba wrote: > > Sorry for not answering before, I've being a bit busy. I'll try to give a > > concrete example of what I'm trying to do so you can understand me > better. > > I have a list of real numbers, for ex

[sage-support] Re: Is it possible to replace the list built-in type in Sage?

2009-07-14 Thread Carlos Córdoba
Sorry for not answering before, I've being a bit busy. I'll try to give a concrete example of what I'm trying to do so you can understand me better. I have a list of real numbers, for example [1,2,3] I want to multiply by 2 to get [2,4,6] the to sum it to 3 [5,7,9] then divide by the max numb

[sage-support] Re: Is it possible to replace the list built-in type in Sage?

2009-07-12 Thread Carlos Córdoba
Thanks for your quick answers. Coming from Mathematica, I was expecting to add lists as vectors, multiply real numbers by lists, etc, without sub-classing or using another types (such as vectors in sage) Do you advise me to add things to the preparser to have this behaviour or not? If so, how can