hi all,
I was trying to animate a plot, with only few frames (50).
I get a very slow animate:
from numpy import linspace
t_vec = linspace(0,Tn,50)
L = Graphics()
v = []
tp = []
Xp = []
Yp = []
for tn in t_vec:
tp.append(tn)
Xp.append(X.subs(val_dict).subs(t = tn))
Yp.append(Y.subs(val_
is there any form of pattern matching in sage?
that should be the basic tool to do something like you mentioned, is
it correct?
Maurizio
On 25 Lug, 11:35, Renato wrote:
> On Sat, 24 Jul 2010 11:03:45 -0700
>
>
>
> Jason Grout wrote:
> > On 7/24/10 4:38 AM, Renato wrote:
> > > Hi, this seems ver
the command iter_levels does not read the last line of the file
I even tried
s = SteinWatkinsAllData(0);
L=s.__getslice__(5,9);L;
this gives not output, where as
s = SteinWatkinsAllData(0);
L=s.__getslice__(5,7);L;
gives the correct output/
Currently I was running the following
Hello,
I am trying to build sage 4.5.1 from source on my MacBook Pro, OS Leopard
10.6.4.
The compilation stops with an error at "singular" package, does anyone has a
clue about that ?
Thank you in advance your help.
Leonard
Finished installing sagenb-0.8.1.spkg
/Users/Leo/Downloads/sage-4.5.1
Hello,
On 07/23/2010 04:41 AM, kcrisman wrote:
> Thanks for this explicit example. I think that what is happening is
> that we are providing a list to the Maxima function "atvalue" (the
> 'X(t) is just an unevaluated function X(t)), which Maxima wouldn't
> like, perhaps.
[...]
> But I'm not sure
I've tried to find info on this. Sorry if it's already been written down.
Alec
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.googl
On Sat, 24 Jul 2010 11:03:45 -0700
Jason Grout wrote:
> On 7/24/10 4:38 AM, Renato wrote:
> > Hi, this seems very basic, but I wasn't able to figure it out.
> > Let's say I have a function:
> >
> > sage: f(t)
> > -4*(5*sqrt(2)*cos(1/2*sqrt(2)*sqrt(5)) -
> > 2*sqrt(5)*sin(1/2*sqrt(2)*sqrt(5)))*sin
Hello,
I would like to define an action, let us say:
def Ac(Y,k):
return k.transpose()*Y*k
where Y and k are square matrices of the same size.
But, I would prefer to use a more mathematical notation, like Y[k] or
y...@k or whatever non already used symbol instead of Ac(y,k).
How is it poss