0

I am trying to calculate square root of a large dimension matrix using IDL but failed. Any solution or tips would be highly appreciated.

mgalloy
  • 2,356
  • 1
  • 12
  • 10
Orpheus
  • 329
  • 6
  • 21
  • How is it failing? What have you tried? You may want to refer to [this post](https://stackoverflow.com/help/how-to-ask) to get more/better answers to your question (though it seems @mgalloy knows what you're referring to). – sappjw Jan 08 '21 at 13:57

1 Answers1

2

Use my routines mg_alogm and mg_expm to compute:

sqrt_A = mg_expm(0.5 * mg_alogm(A))
mgalloy
  • 2,356
  • 1
  • 12
  • 10