Question: Square root and logarithm of a matrix

I can't find any command to evaluate sqrt(any square non-singular matrix) and ln(any square non-singular matrix) or exp(any square non-singular matrix).I searched inside LinearAlgebra and it's subpackages to do this kind of operations on matrices.sqrt,ln & exp produce error when the argument is a matrix(it does not matter if the matrix is the right one or wrong).

I need to find sqrt(g),where g is the 4 by 4 diagonal flat metric tensor:


 How I can achieve this with Maple?

Please Wait...