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

Home » Public Forums » archive » Re: MATRIX LOGARITHM (and EXPONENTIAL)
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 LOGARITHM (and EXPONENTIAL) [message #92161 is a reply to message #74693] Wed, 21 October 2015 16:04 Go to previous messageGo to previous message
zhaobw1993 is currently offline  zhaobw1993
Messages: 1
Registered: October 2015
Junior Member
On Thursday, January 27, 2011 at 5:11:53 PM UTC-7, James wrote:
> On Jan 27, 4:10 pm, James <donje...@gmail.com> wrote:
>>
>> If the matrix A is diagonalizable, then:
>>
>> eigenvals = LA_EIGENPROBLEM(A, EIGENVECTORS=evecs)
>> expA = evecs # diag_matrix(exp(eigenvals)) # invert(evecs)
>> logA = evecs # diag_matrix(alog(eigenvals)) # invert(evecs)
>
> sorry, replace INVERT with LA_INVERT to account for complex
> eigenvectors.

Does logA need to be transposed?
My way was,
evens = transpose(evens)
logA = evecs ## diag_matrix(eigenvalues) ## invert(evecs)
result of this way seems to be transpose of result of your way.

Thanks
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Read irregular data problem
Next Topic: Display of hyperspectral image in the window of a specified size

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

Current Time: Fri Oct 10 03:35:31 PDT 2025

Total time taken to generate the page: 1.11850 seconds