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