Computation of the matrix exponential, logarithm, sqrt, and related quantities.