Hi Max,
I think that the internal representations of array and matrix are quite different in Ox, and that you will need a loop with concatenations or something like that for the conversion. If the structure of the array is known this takes only a few lines of code. If you need this repeatedly you could make a class that contains the information and returns a matrix or array representation on request.
Regards,
Jaap
> -----Original Message-----
> From: The ox-users list is aimed at all Ox users
> [mailto:[log in to unmask]]On Behalf Of [log in to unmask]
> Sent: Saturday, 03 April, 2004 13:49
> To: [log in to unmask]
> Subject: Converting an array to a matrix and back
>
>
> Hi,
>
> Is there some way to convert/cast an array or parts thereof
> to a matrix
> and back?
>
> Thanks,
>
> Max
>
>
|