request for comments/improvements/style of first Maxima script
Subject: request for comments/improvements/style of first Maxima script
From: Bart Vandewoestyne
Date: Fri, 11 Jan 2008 11:12:29 +0100
On Thu, Jan 10, 2008 at 12:33:58PM -0500, Stavros Macrakis wrote:
> > Thanks. While slightly adapting your version and playing around
> > with it, i noticed a difference in behavior between your version
> > and mine when for example the dimension s is larger than one.
>
> Your definition of phi[0] is f(x). You define f(x) as
>
> product((x[1]*x[2])^2, i, 1, s)$
>
> When s=2, this is (x[1]*x[2])^4.
>
> In my code, phi[0,...] is product((x[1]*x[2]), i, 1, s).
Thanks! A while after posting my question to this list and before I saw
your answer, I have also `discovered' this error.
Changing f(x) to the correct expression solved the problem.
Thanks!
Bart
--
"Share what you know. Learn what you don't."