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   [EMAIL PROTECTED]
"Finally, mount the partition, not the virgin."  --  Charles Curley



_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to