SciPy

scipy.sparse.dia_matrix.sin

dia_matrix.sin()[source]

Element-wise sin.

See numpy.sin for more information.