# forum.alglib.net

ALGLIB forum
 It is currently Thu Aug 18, 2022 5:22 am

 All times are UTC

### Forum rules

1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.

 Page 1 of 1 [ 3 posts ]
 Print view Previous topic | Next topic
Author Message
 Post subject: Matrix ExponentialPosted: Mon Jul 05, 2010 11:38 am

Joined: Mon Jul 05, 2010 11:13 am
Posts: 3
First of all I want compliment you for the very useful math library. I mostly program in Delphi, which has a lack of good mathematical libraries and alglib comes very handy.
I now need to calculate matrix exponentials. From a bit of experimentation I found it to be trickier than it seems at first, as it is easy to get the result swamped by rounding errors.
Having a good method in alglib will be great. Also any advice on how it is best to calculate it myself will be welcome.

Thanks

Top

 Post subject: Re: Matrix ExponentialPosted: Mon Jul 05, 2010 2:06 pm

Joined: Fri May 07, 2010 7:06 am
Posts: 878
If you have symmetric/Hermitian matrix, I recommend you to use EVD-based approach. Just calculate exp() of its eigenvalues and multiply from the left/right on its eigenvectors. In the general case, however, it is really hard to calculate. EVD-based approach is no good because unsymmetric matrices may be non-diagonalizable.

I recommend you to look at http://citeseerx.ist.psu.edu/viewdoc/do ... 1&type=pdf and http://www.mathnet.or.kr/mathnet/kms_tex/230.pdf Pade-based method seems good enough and relatively easy to implement. ABLAS unit, especially RMatrixGEMM, may be handy when you'll try to multiply matrices.

P.S. I've added matrix exponentials in my todo list. But I think that it will take somewhere between month or three to implement given another problems I working on now.

UPD: second link should be http://www.cs.cornell.edu/cv/ResearchPDF/19ways+.pdf

Top

 Post subject: Re: Matrix ExponentialPosted: Thu Jul 08, 2010 9:15 pm

Joined: Mon Jul 05, 2010 11:13 am
Posts: 3
Thanks for the information.
If you implement it in alglib, it will be great.

Top

 Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending
 Page 1 of 1 [ 3 posts ]

 All times are UTC

#### Who is online

Users browsing this forum: No registered users and 1 guest

 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum

Search for: