Re: Dynamic matrix in Euphoria
Hi Allen.
You can create empty sequences (seq={}) and use the command append to
enlarge you matrix to any dimesion.
seq=append(seq,data)
Rubens
At 08:48 20/5/2004, you wrote:
>
>Given a series of sets containing a variable number of items (say n
>items), is it possible to have Euphoria define a square matrix
>dynamically, n by n, assigning the nth row and the nth column to the nth
>item of the current set, or would it be necessary to define the matrix in
>advance, hoping that the chosen value of n would be large enough to
>accommodate all possible cases?
>
>Allen
>
>
>
>
|
Not Categorized, Please Help
|
|