The acos(m) function returns the arc cosine of each element of m.
Examples
OML
>> m=[-1 0;-1 -.4]
-1 0
-1 -0.4
>> acos(m)
3.14159 1.5708
3.14159 1.98231
Block