cosm - matrix cosine function
cosm(x) is the matrix cosine of the x matrix. t=0.5*(expm(%i*x)+expm(-%i*x)) .
A=[1,2;3,4] cosm(A)-0.5*(expm(%i*A)+expm(-%i*A))
cos , expm ,
Back