19 May
2006
19 May
'06
11:04 a.m.
It seems to me that the core question is whether you really need the direct sum to be constructed (seem unlikely), or whether you just need the information in the constituent matrices. How about a direct sum class, which takes a list of matrices as an argument, and appropriately defines the operations you need. Cheers, Alan Isaac PS I have argued that this is a better way to handle the Kronecker product as well, but as here I did not offer code. ;-) If you code it, please share it.
6551
Age (days ago)
6551
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alan G Isaac