Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #2716
| From | Michael Weyrauch <michael.weyrauch@gmx.de> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Permute in KroneckerProduct |
| Date | 2011-05-25 23:33 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <irk3kj$7ai$1@smc.vnet.net> (permalink) |
| References | <irijlf$qb7$1@smc.vnet.net> |
Hello,
to be specific assume the subsystems A and B are represented by
n x n matrices.
c=KroneckerProduct[A,B]
then
KroneckerProduct[B, A] =
Flatten[Partition[c, {n, n}], {{3, 1}, {4, 2}}]
(I hope I understood your question correctly. )
If you want to handle
any tensor rearrangement and contraction then Partition, Flatten, and
Dot are very good friends.
Viel Spa=DF bei der Arbeit...
Michael Weyrauch
Am 25.5.2011 11:54, schrieb Dominic W=F6rner:
> Hi,
>
> I construct a system out of subsystems with same dimensions using KroneckerProduct.
> Then the system is represented as a big matrix. But now I need to rearange the subsystems in a different order. Any advice for the algorithm to permute given subsystem A with subsystem B?
>
> Cheers,
> Dominic
>
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
Permute in KroneckerProduct Dominic Wörner <dominic.woerner@mpi-hd.mpg.de> - 2011-05-25 09:54 +0000 Re: Permute in KroneckerProduct Michael Weyrauch <michael.weyrauch@gmx.de> - 2011-05-25 23:33 +0000
csiph-web