Re: [sage-support] Re: Creating a callable matrix with functions.

2011-11-23 Thread Tom Boothby
This is a little on the terse side, but it works quite generally. def MatrixCallable(M): N = Matrix(SR,M) def m(*a,**k): return Matrix([[e(*a,**k) for e in row] for row in N]) return m sage: x = var('x') sage: M = [[sin(x),cos(x),0],[cos(x),sin(x),x^3]] sage: N =

[sage-support] Re: Creating a callable matrix with functions.

2011-11-23 Thread Jason Grout
On 11/23/11 1:32 AM, Tom Boothby wrote: This is a little on the terse side, but it works quite generally. And it isn't quite the same as Callable symbolic expressions. I.e., if you have two variables, you can't specify the order when you create the matrix. On the other hand, doing

[sage-support] Win 7 64 Host and SAGE/Fedora guest on VMware or Virtualbox

2011-11-23 Thread Carel_van_Dam
Hi, I'm new to sage and and Linux and I've been struggling the last few days to get a running SAGE system on my own machine using the *.ova and *.ovf files. I'm reporting what I've found since there seems to be little info on the web, or atleast there is little info using the key words I've been

[sage-support] Re: Win 7 64 Host and SAGE/Fedora guest on VMware or Virtualbox

2011-11-23 Thread emil
On Nov 23, 12:31 pm, Carel_van_Dam carelv...@gmail.com wrote: Hi, I'm new to sage and and Linux and I've been struggling the last few days to get a running SAGE system on my own machine using the *.ova and *.ovf files. I'm reporting what I've found since there seems to be little info on the

Re: [sage-support] Re: Creating a callable matrix with functions.

2011-11-23 Thread jrodri14ii
I'm a physics guy, so programing is not at the top of the to-do list for me (yet), but I might take it on, since I've been meaning to learn python as a primer for programming in general. Also, I use sage over all the other software they have at school, and sometimes bugs in sage keep me too

[sage-support] Re: Creating a callable matrix with functions.

2011-11-23 Thread Jason Grout
On 11/23/11 9:19 AM, jrodri1...@gmail.com wrote: I'm a physics guy, so programing is not at the top of the to-do list for me (yet), but I might take it on, since I've been meaning to learn python as a primer for programming in general. Also, I use sage over all the other software they have at

[sage-support] Re: Creating a callable matrix with functions.

2011-11-23 Thread kcrisman
This is now http://trac.sagemath.org/sage_trac/ticket/12075. On Nov 23, 11:38 am, Jason Grout jason-s...@creativetrax.com wrote: On 11/23/11 9:19 AM, jrodri1...@gmail.com wrote: I'm a physics guy, so programing is not at the top of the to-do list for me (yet), but I might take it on, since