On 30/11/14 11:09, Philippe de Rochambeau wrote: > Hello, > > I have a programming project in which I need to display rows from a data > array, in a PDF document, where each page should contain at most 25 rows. > > The data array is composed of groups where each group can be defined as > follows: > > for instance, > > group1 = a1 x 2 + a2 x 5 + a3 x 1 > > group2 = a4 x 1 + a5 x 2 > > group3 = a6 x 12 + a7 x 12 + a8 x 1 … > > Is it possible to compute the number of As in each group (assuming it is <= > 10, to make things simpler), and their respective multipliers, where group n > <= 25, in CLP or otherwise? You will have to explain this a bit more clearly. In particular: - what is in a "row", and how do rows relate to groups? - are the groups something that already exists in the data array, or are we free to make them up? - are the multipliers given, or are they to be computed? More generally, try to 1. define each concept you use (data array, row, group, ...) 2. specify what is a parameter (input), and what is a variable (to be computed) Cheers, JoachimReceived on Mon Dec 01 2014 - 13:56:40 CET
This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:21 CEST