MatrixExp
MatrixExp[m] gives the matrix exponential of m.
Examples
Matrix exponential:
MatrixExp[{{0, t}, {-t, 0}}]
(* {{Cos[t], Sin[t]}, {-Sin[t], Cos[t]}} *)Diagonal matrix:
MatrixExp[{{1, 0}, {0, 2}}]
(* {{E, 0}, {0, E^2}} *)Please visit the official Wolfram Language Reference for more details.