[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] how to use prod?

From: Michael Hennebry
Subject: Re: [Help-glpk] how to use prod?
Date: Tue, 20 Mar 2007 10:24:39 -0500 (CDT)

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]