The tan(m) function returns the tangent of each element in m.
Examples
OML
m=[1 -2;-3 4]
1 -2
-3 4
>> tan(m)
1.55741 2.18504
0.142547 1.15782