Re: exponentiate a matrix




NoIdea wrote:
"questions?" <universal_used@xxxxxxxxxxx> wrote in message
news:1144885733.672703.276310@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have a rate matrix say Q. It has only real eigen values.
The trouble is: I want to exponentiate the matrix to a small power. In
other worlds, the Exp(Q*power) is very close to an Identity matrix in a
sense that the off diagonal are very close to zero, but diagonal is
very close 1.

I used the GNU Scientific library, but it occasionally gaves negative
entries when the powers are small. Exp(Q*power) is a transition
probability matrix, the entries shouldn't be negative.

Are there other packages in C that can deal with high precision
calculations in matrix?

Thanks for any comments

i have a java routine that will raise small to medium sized matrices to any
given power. how big is the matrix you're dealing with? there shouldnt be
any problems with precision as it uses java's bigdecimal arbitrary precision
functions. if you're running java and your matrix isnt too large you can
have it and give it a shot


Is that a library function or a "real" function?
GNU scientific library was written in FORTRAN and transported to C.

.



Relevant Pages

  • Re: So far OT its over the horizon: Anyone into 3D modelling?
    ... > screws, 2.5 metre ball screws have a certain minimum cost, even if you ... > cut out ALL the middle men you'll be looking at IRO 500 quid per axis ... you could use precision threaded bar and a couple of nuts to ... > eliminate backlash, but it's gonna wear quickly, take more power to ...
    (uk.rec.motorcycles)
  • Re: So far OT its over the horizon: Anyone into 3D modelling?
    ... screws, 2.5 metre ball screws have a certain minimum cost, even if you ... cut out ALL the middle men you'll be looking at IRO 500 quid per axis ... you could use precision threaded bar and a couple of nuts to ... eliminate backlash, but it's gonna wear quickly, take more power to ...
    (uk.rec.motorcycles)
  • Re: My Homework: how to calculate natural log, e?
    ... > So GT's claim of 1ulp precision are demonstrably false. ... with pwr equal to a power of two) throws away a lot ... couple of hundred ULPs when the input is around 700. ... no deficiencies and the other way is to make it so complicated ...
    (comp.lang.fortran)
  • Re: exponentiate a matrix
    ... I want to exponentiate the matrix to a small power. ... the entries shouldn't be negative. ... Are there other packages in C that can deal with high precision ... i have a java routine that will raise small to medium sized matrices to any ...
    (sci.math.num-analysis)
  • Re: For those who missed it -another PC milestone
    ... The processing power of the GPU is now available for general purpose ... do you mean "single and double precision" or "single or double ...
    (uk.politics.misc)