Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #2466 > unrolled thread

Re: finding base change matrix

Started byRay Koopman <koopman@sfu.ca>
First post2011-05-18 11:15 +0000
Last post2011-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.


Contents

  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

#2466 — Re: finding base change matrix

FromRay Koopman <koopman@sfu.ca>
Date2011-05-18 11:15 +0000
SubjectRe: 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]


#2490

FromRay Koopman <koopman@sfu.ca>
Date2011-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