Again $table function, speed/functionality improved



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 ..