Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #2466 > unrolled thread
| Started by | Ray Koopman <koopman@sfu.ca> |
|---|---|
| First post | 2011-05-18 11:15 +0000 |
| Last post | 2011-05-19 11:41 +0000 |
| Articles | 2 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: finding base change matrix Ray Koopman <koopman@sfu.ca> - 2011-05-18 11:15 +0000
Re: finding base change matrix Ray Koopman <koopman@sfu.ca> - 2011-05-19 11:41 +0000
| From | Ray Koopman <koopman@sfu.ca> |
|---|---|
| Date | 2011-05-18 11:15 +0000 |
| Subject | Re: finding base change matrix |
| Message-ID | <ir09o3$1vt$1@smc.vnet.net> |
On May 17, 4:45 am, Antonio Mezzacapo <ant.mezzac...@gmail.com> wrote:
> Hi everyone,
> I was wondering if I have two matrix A and B, how can
> i find the matrix W such that Transpose(W) A W = B?
>
> Is there a simple command for that, or I have to
> solve a system in the W elements as variables?
>
> Thank you
> Antonio
If A and B are the same size, symmetric, and positive definite
then W = LinearSolve @@ CholeskyDecomposition /@ {A, B}.
[toc] | [next] | [standalone]
| From | Ray Koopman <koopman@sfu.ca> |
|---|---|
| Date | 2011-05-19 11:41 +0000 |
| Message-ID | <ir2vl9$gvd$1@smc.vnet.net> |
| In reply to | #2466 |
On May 18, 4:15 am, Ray Koopman <koop...@sfu.ca> wrote:
> On May 17, 4:45 am, Antonio Mezzacapo <ant.mezzac...@gmail.com> wrote:
>
>> Hi everyone,
>> I was wondering if I have two matrix A and B, how can
>> i find the matrix W such that Transpose(W) A W = B?
>>
>> Is there a simple command for that, or I have to
>> solve a system in the W elements as variables?
>>
>> Thank you
>> Antonio
>
> If A and B are the same size, symmetric, and positive definite
> then W = LinearSolve @@ CholeskyDecomposition /@ {A, B}.
I should have added that W is not unique. In general,
W = LinearSolve[U,V], where U and V are any matrices
such that Tranpose[U].U = A and Transpose[V].V = B.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web