MatrixLog
MatrixLog[m] gives the matrix logarithm of a matrix m.
Examples
Matrix logarithm:
MatrixLog[{{E, 0}, {0, E^2}}]
(* {{1, 0}, {0, 2}} *)Verify with MatrixExp:
MatrixExp[MatrixLog[{{2, 0}, {0, 3}}]]
(* {{2, 0}, {0, 3}} *)Please visit the official Wolfram Language Reference for more details.