product

product

product(expr)

        Returns the product of the elements of expr.
Example:
product[1,5]; returns 120

product format

product(m1,m2)format(x1,y1,x2,y2)

Returns the product of two matrices m1[x1,y1] et m2[x2,y2]

Note: matrices are linear arrays defined by columns.
Example:
m1=1,4,2,5,3,6;
m2=1,2,3,4,5,6;
m=product(m1,m2)format(3,2,2,3);
$m;
prints: (14,32,32,77)
edit(m)format 2; prints the matrix 2*2:
0: 14.000000 32.000000
1: 32.000000 77.000000