Table of Results



I don't know if this is exactly what you want, but you can
do this:

table:[];
table:cons( ev([x,y], assumptions),   table);
table:cons( ev([x,y], differentassumptions),  table);

etc.   .  cons  ... for constructing a list ... is part of Maxima's heritage 
from lisp.

RJF
----- Original Message ----- 
From: "mdda123" <Nabble at PLATFORMedia.com>
To: <maxima at math.utexas.edu>
Sent: Friday, March 10, 2006 10:39 AM
Subject: Table of Results


>
> I'm sure that this is a simple question, but how can I create a table of
> results?
>
> I have set up a number of parameter sets, and a number of variables that
> depend on the parameters (not as functions, but as dependencies).  Can I
> produce a table (or matrix or array) of the results easily?
>
> eg :
>
> x:a*3+b;
> y:a*2+b^2;
>
> apple:[a=3,b=5];
> pear:[a=2,b=7];
>
> Table :
> [
> [ x, y ] with apple assumptions,
> [ x, y ] with pear assumptions
> ];
>
> I know that ev(x,apple) and ev(y,apple) are suitable elements, but how to
> generate a table from the lists (x,y) and (apple, pear) ?  (the lists will
> be more than 2 elements).
>
> Thanks
> Martin
> :-)
>
> --
> View this message in context: 
> http://www.nabble.com/Table-of-Results-t1260673.html#a3344566
> Sent from the Maxima forum at Nabble.com.
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>