[eclipse-clp-users] Product of a list (or array)

From: Martin Michalowski <martin.michalowski_at_...341...>
Date: Wed, 27 Feb 2013 14:50:20 -0600
Is there an equivalent built-in predicate for sum(+ExprList, -Result) that evaluates the arithmetic expressions in ExprList and unifies their product with Result?  If not, do people have a fast/easy way of generating the product of a list?  I know the times predicate is available but I'm hoping to avoid iterating over multiple instances of it.

Best,
Martin

--
Martin Michalowski, Ph.D.
Principal Research Scientist, Adventium Labs
martin.michalowski@...341...
http://www.adventiumlabs.com/staff/martin-michalowski
Received on Wed Feb 27 2013 - 20:49:29 CET

This archive was generated by hypermail 2.2.0 : Mon Jul 09 2018 - 02:05:30 CEST