comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » matrix log and exp
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: matrix log and exp [message #30323 is a reply to message #30300] Fri, 19 April 2002 10:21 Go to previous messageGo to previous message
jeyadev is currently offline  jeyadev
Messages: 78
Registered: February 1995
Member
In article <a9n7dq$4hu$1@news.wrc.xerox.com>,
Surendar Jeyadev <jeyadev@wrc.xerox.bounceback.com> wrote:
> In article <a9kgr4$ur8$1@scavenger.euro.net>,
> G Karas <jacobianat@gmx.net> wrote:
>> Hi group,
>> one quickie and possibly difficult:
>>
>> IDL does not have a matrix logarithm logm and matrix
>> exponent expm function. I was thinking of calling lapack
>> routines which do it, but have no experience with lapack
>> or FORTRAN. Anyone with any tips on this one?
>
> It depends on the matrix. Can you diagonlise it? It so,
> you are done. You will need a support package to do the
> linear algebra, though.
>
> ......
>
> The trick is to do the basic operation in the diagonal
> representation and then transform back. If you can
> write the operation as a power series, then can see
> why this works.
>
> The same should work for the logarithm, if the e.values
> are all greater than zero.

I forgot to mention that this kind of thing is routine
in quantum mechanical calculations. You will find
information on things like exp(A) in any decent text:
try Schiff or Merzbacher or Gottfried or ....
What I described is routinely used is such calculations.

Hope this helps, but it does assume use of a linear
algebra package for determining the the eigenvalues
and eigenvectors.

Repeated matrix multiplications are tricky! I would
watch out .....

--

Surendar Jeyadev jeyadev@wrc.xerox.bounceback.com

Remove 'bounceback' for email address
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Global variables
Next Topic: Chain-Link Algorithm for Perimeter

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 00:01:42 PDT 2025

Total time taken to generate the page: 0.01341 seconds