Question: How do I create a product of list elements


I want to create an product expression from all list elements,


expr := createproduct([a,b,c,d,1]);

expr:= a*b*c*d

Context; I'd like to apply a function on all factos of a polynomial. I can easily map(fun,factors(apolynomial)) which will output a list. However I do not know how to get back.

Thanks for your comments!

Please Wait...