comp.lang.ada
 help / color / mirror / Atom feed
* array of matrices
@ 1996-05-02  0:00 Boaz Chow
  1996-05-03  0:00 ` John Herro
  0 siblings, 1 reply; 5+ messages in thread
From: Boaz Chow @ 1996-05-02  0:00 UTC (permalink / raw)



Hi there, 
 
I need to do matrix multiplication with arrays : 
 
A1 5x15 
A2 15x7 
A3 7X25 
 
I want to set up a variable for array (1..N) of Matrix; 
 
type Matrix is array (integer range <>, integer range <>) of integer; 
 
My question is how can I setup an array for that? 
 
I want something like this : 
 
A(1) := ( (1,2,3,4,5), 
               (2,3,4,5,6), 
                etc... 
             ); 
 
and A(2) := ( (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15), 
                      etc... 
                    ); 
 
I know this won't work : 
 
A : array (1..N) of Matrix; 
 
please email me asap. 
 
Thanks! 
 
 
 
 
 
   ______   Meow 
   \ OO /  _/  
  :(__ =) 
    U \\ 
http://www.sci.csupomona.edu/~cchow




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1996-05-10  0:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-05-02  0:00 array of matrices Boaz Chow
1996-05-03  0:00 ` John Herro
1996-05-04  0:00   ` Boaz Chow
1996-05-04  0:00     ` John Herro
1996-05-10  0:00   ` Ron J Theriault

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox