atanΒΆ
atan calculates the arctangent.
- r = atan(m)
Return Value
r is the arctangent of m.
Parameters
- m
m is a real or complex matrix.
Comment
Algorithm: (1 ./ 2i) .* log((1 + 1i .* x) ./ (1 - 1i .* x))
.
Example
* printf("%.17f\n", atan(1)*4);
3.14159265358979310
See also
id-1320956