Group Abstract Group Abstract

Message Boards Message Boards

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

How to multiply part of matrices ?

Posted 5 years ago

Hi I have several matrices:

TD3 = Array[tDd3, {6, 6, 6}]
RD3 = Array[rD3, {6, 6}]
TQd = Array[tQd, {6, 6, 6}]
RQd = Array[rQd, {6, 6}]

I made the following multplication:

RY3 = RQd.RD3.RQd
D3QD = RD3.TQd + TD3.RQd.RQd
TY3 = RQd.D3QD + TQd.(RD3.RQd).(RD3.RQd)

I there a way to receive only certain indices multiplication as what I need is the following (which is shorter):

RY3_ij=RQd_ik.RD3_kl.RQd_lj
D3QD_ijk=RD3_il.TQd_ljk+TD3_ilm.RQd_lj.RQd_mk
TY3_ijk=RQd_il.[D3QD]_ljk+TQd_ilm.[RD3.RQd]_lj.[RD3.RQd]_mk

I am trying to get:

A = TY3[[1, 6, 2]]

Thanks

POSTED BY: Amir Weinberg
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard