Re: maple sucks!!!
- From: "G. A. Edgar" <edgar@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 27 Nov 2007 08:02:40 -0500
In article <tbU2j.3329$4q5.1204@xxxxxxxxxxxxxxxxxxxx>, Jon Slaughter
<Jon_Slaughter@xxxxxxxxxxx> wrote:
N := 3;
X := x->matrix(N,1,[1, x, x^2]);
Y := y->matrix(N,1,[1, y, y^2]);
XT := x->transpose(A(x));
A(x) is undefined?
YT := y->transpose(C(y));
C(x) is undefined?
I am trying to compute the higher order derivatives the above but as usual
maple is being a complete bitch about it.
I've tried various combinations of map, unapply, diff and also converted it
into a seq such as
unapply(seq(diff(X(x)[i,1],x),i=1..N))
and different orders(tried to unapply the diff.
Knowledge of Maple syntax shows this should be:
unapply([seq('diff(X(x)[i,1],x)',i=1..N)],x);x -> [0, 1, 2 x]
The less logical
unapply([seq]('diff(X(x)[i,1],x)',i=1..N),x);
will do the same thing.
Nothing works and maple always tries and substitutes the numeric value for x
before differentiation instead of afterwards!!
Man it totally sucks!
They need a command that does "lazy" evaluation so that one can apply a
substitution after everythign else as been computed.
In any case anyone know why something like
unapply(map(diff, X(x), x))
doesn't work? (seems like its working on the matrix instead of the diff but
should it matter?
unapply(map(diff,X(x),x),x);
Do you see why?
All I want it to do is compute diff before substitution instead of after.
Anyways, I'm sure theres some simple way to do it but I'm at a loss.
Any ideas?
Thanks,
Jon
--
G. A. Edgar http://www.math.ohio-state.edu/~edgar/
.
- References:
- maple sucks!!!
- From: Jon Slaughter
- maple sucks!!!
- Prev by Date: Re: Kuratowski Ordered Pair
- Next by Date: Re: The infintely small number b
- Previous by thread: maple sucks!!!
- Index(es):
Relevant Pages
|