[Maxima] Again $table function, speed/functionality improved

Richard Fateman fateman at cs.berkeley.edu
Wed May 13 08:32:19 CDT 2009


How about other versions that might do the following:

(a) produce an array instead of a list

(b) use a different combining form. Instead of cons or append.  For 
example, plus, times,  or any binary operation.

  table(i, iterator, target=array)    --- for Maxima maybe need to say  
table(i,iterator,type=array, name=A) since arrays are not first-class 
object in Maxima.

  table(i,iterator, combiner="+")    like apply("+",table(..))  but 
faster.  See if it is faster than sum ..




More information about the Maxima mailing list