Compute the hyperbolic matrix tangent.
This routine uses expm to compute the matrix exponentials.
A : array, shape(M,M)
tanhA : array, shape(M,M)
Hyperbolic matrix tangent of A
scipy.linalg.sinhm
scipy.linalg.signm