[18770] in s-news-athena

home help back first fref pref prev next nref lref last post

[S] Vector generation

daemon@ATHENA.MIT.EDU (Ian Clough)
Wed Jul 28 12:30:03 1999

Message-Id: <01BED8F4.25306120@t20-24.ra.uc.edu>
From: Ian Clough <cloughi@email.uc.edu>
To: "'s-news@wubios.wustl.edu'" <s-news@wubios.wustl.edu>
Date: Wed, 28 Jul 1999 12:23:28 -0400
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit


I use S-Plus 2000 in a Windows NT environment. I am interested  in efficiently generating a sequence of vectors from a given matrix. 
Specifically given, for example, the matrix

                                              1 2 3 4 5 6 7               
                                              2 3 4 5 6 7 8
                                              3 4 5 6 7 8 9

I wish to efficiently generate the sequence of column vectors 

1   1   1        1   1   1   1       1   1       1       1  2   2                               6   7
2   2   2  ...   2   3   3   3  ...  3   4  ...  4  ...  8  3   3   .. etc ..     up to    8   8
3   4   5        9   4   5   6       9   5       9       9  4   5                               9   9

Any ideas would be much appreciated,
                                                                  Ian    (cloughi@email.uc.edu)    


-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

home help back first fref pref prev next nref lref last post