acotd
Compute the principal value of the arc cotangent of x
, return in degrees.
Base.Math.acotd
— Functionacotd(x)
Compute the inverse cotangent of x
, where the output is in degrees. If x
is a matrix, x
needs to be a square matrix.
Methods
julia> methods(acotd, (Any,), [Base, Base.Math, Base.MathConstants, Base.MPFR])
# 1 method for generic function "acotd" from Base.Math: [1] acotd(x) @ special/trig.jl:1287
Examples
Real Numbers
julia> acotd(Inf)
0.0
julia> acotd(-Inf)
-0.0
julia> acotd(0.0)
90.0
julia> acotd(1.0)
45.0
Complex
julia> acotd(0+0im)
NaN + NaN*im
Tips
See Also
Extended Inputs
Tech Notes
- Implemented in terms of
acot
:acotd(x) = rad2deg(acot(x))
Version History
Introduced in Julia v1.0 (2018)