|
From: | Shan Gao |
Subject: | Re: [Help-glpk] how to use prod? |
Date: | Tue, 20 Mar 2007 12:06:24 -0400 |
On Tue, 20 Mar 2007, Shan Gao wrote:
> I am trying to use prod to calculate the production of numbers stored in an
> array x.
>
> I wrote: prod {i in 1..5} x[i]; // same format with sum
>
> but I was told "integrand following prod{...} has invalid type".
By any chance, is x an array of variables?
--
Mike address@hidden
"Finally, mount the partition, not the virgin." -- Charles Curley
[Prev in Thread] | Current Thread | [Next in Thread] |