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 #30290 is a reply to message #30289] Wed, 17 April 2002 14:34 Go to previous messageGo to previous message
hradilv.nospam is currently offline  hradilv.nospam
Messages: 19
Registered: November 2001
Junior Member
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 %^{
[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 16:52:05 PDT 2025

Total time taken to generate the page: 0.00415 seconds