SciPy

scipy.linalg.cosm

scipy.linalg.cosm(A)[source]

Compute the matrix cosine.

This routine uses expm to compute the matrix exponentials.

Parameters:

A : (N, N) array_like

Input array

Returns:

cosm : (N, N) ndarray

Matrix cosine of A

Previous topic

scipy.linalg.logm

Next topic

scipy.linalg.sinm