How can I calculate square root of a matrix using IDL?

110 views Asked by At

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

1

There are 1 answers

0
mgalloy On

Use my routines mg_alogm and mg_expm to compute:

sqrt_A = mg_expm(0.5 * mg_alogm(A))