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

Home » Public Forums » archive » Re: 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 #30274] Thu, 18 April 2002 06:19 Go to previous message
G Karas is currently offline  G Karas
Messages: 12
Registered: March 2002
Junior Member
"Vince" <hradilv.nospam@yahoo.com> wrote in message
news:3cbde89e.197479700@news...
> On Wed, 17 Apr 2002 15:32:42 -0400, Paul Van Delst
> <paul.vandelst@noaa.gov> wrote:
>
>> G Karas 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?
>>
>> Yes. Use ALOG() and EXP().
>>
>> paulv
>>
>> --
>> Paul van Delst Religious and cultural
>> CIMSS @ NOAA/NCEP purity is a fundamentalist
>> Ph: (301)763-8000 x7274 fantasy
>> Fax:(301)763-8545 V.S.Naipaul
>
> I think what the original post-er is looking for is:
>
> exp(A) = SUM{ (1/n!) * A^n } from 0 to infinity
>
> The only (other) advice I can give is to truncate the sum at some
> "reasonable" value (10?, 100?). 'couse you still have to deal with
> the A^n part %^{


Yes, exp(A) with the factorial is quite straightforward, a value of 60 or so
will do the trick, but to go back by using
the logarithm is a lot more complicated. Thanks for all
the advice though :)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Finding all angles within a range of directions; an algorithm question
Next Topic: need IDL/visual basic programmer for 1 year contract

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

Current Time: Wed Oct 08 14:52:02 PDT 2025

Total time taken to generate the page: 0.00396 seconds