Compute the matrix sine.
This routine uses expm to compute the matrix exponentials.
A : (N, N) array_like
Input array.
sinm : (N, N) ndarray
Matrix cosine of A
scipy.linalg.cosm
scipy.linalg.tanm