Text this: A scaling-and-squaring method for computing the inverses of matrix φ-functions.