From: Stephen Leake <Stephe.Leake@nasa.gov>
Subject: Re: Slice from a matrix?
Date: 23 May 2003 13:56:50 -0400
Date: 2003-05-23T18:12:37+00:00 [thread overview]
Message-ID: <uhe7l5yxp.fsf@nasa.gov> (raw)
In-Reply-To: BAF3B30D.3023%harald.schmidt@anobject.net
Harald Schmidt <harald.schmidt@anobject.net> writes:
> I got a generic matrix / vector package like this:
>
> <snip>
>
> Then I have three Put procedures, one for matrix, one for row_vector, and
> one for col_vector.
>
> My question is how to get a slice from a matrix which I can convert to a
> col_vector which does the printing?
If you change your matrix to be an array of arrays, you can use the
Generic_Array_Text_IO package from Auto_Text_IO at
http://www.toadmail.com/~ada_wizard/auto_text_io.html.
It supports both Put and Get, with optional named association.
--
-- Stephe
next prev parent reply other threads:[~2003-05-23 17:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-23 9:14 Slice from a matrix? Harald Schmidt
2003-05-23 10:52 ` Dale Stanbrough
2003-05-23 11:23 ` David C. Hoos
2003-05-23 14:15 ` P S Norby
2003-05-24 23:00 ` Robert I. Eachus
2003-05-23 18:13 ` Georg Bauhaus
2003-05-23 17:56 ` Stephen Leake [this message]
2003-05-23 20:03 ` Simon Wright
2003-05-23 21:06 ` Stephen Leake
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox