Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.7K Views
|
4 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Product of matrix with sub block Matrix assumptions

Posted 6 years ago
POSTED BY: koblik moi
4 Replies

To get rid of all the terms containing the 0 ( - Matrix) you should try

Res1 = Res /. 0 -> Null /. Null.x_ -> Null /. x__.Null -> Null /.     a_ Null + x_ -> x /. Transpose -> trp;
Res1 // MatrixForm
POSTED BY: Hans Dolhaine
Posted 6 years ago

Thanks a lot Hans.

POSTED BY: koblik moi

What about doing it yourself?

Res = Table[
Sum[A[[i, my]].P[[my, ny]].A[[k, ny]], {my, 1, 6}, {ny, 1, 6}],
{i, 1, 6}, {k, 1, 6}]
POSTED BY: Hans Dolhaine
Posted 6 years ago
POSTED BY: koblik moi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard