help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: math problem: matrix exponential not following the rules in ML or Oc


From: Mike Miller
Subject: Re: math problem: matrix exponential not following the rules in ML or Octave?
Date: Fri, 7 Aug 2015 19:34:59 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

On Fri, Aug 07, 2015 at 18:37:40 -0400, Nicholas Jankowski wrote:
> Ok, crickets on that one. Could someone used to navigating the Octave
> source point me to the source on Savannah for either mpower or the ^
> operator (assuming one's just an alias to the other), want to see if
> they're set to do the eigenvector route or if they call something like A^x
> = expm(x*logm(A)), as calling those gives me the same output.

I can help with that one, take a look here:

http://hg.savannah.gnu.org/hgweb/octave/file/9c7dd58b57e4/libinterp/corefcn/xpow.cc#l188

(I assume you mean a matrix raised to a scalar, but other variants are
defined in the same file).

-- 
mike



reply via email to

[Prev in Thread] Current Thread [Next in Thread]