asind

Compute the principal value of the arc sine of x, return in degrees.

Base.Math.asindFunction
asind(x)

Compute the inverse sine of x, where the output is in degrees. If x is a matrix, x needs to be a square matrix.

Julia 1.7

Matrix arguments require Julia 1.7 or later.

source

Methods

julia> methods(asind, (Any,), [Base, Base.Math, Base.MathConstants, Base.MPFR])# 2 methods for generic function "asind" from Base.Math:
 [1] asind(x::BigFloat)
     @ Base.MPFR mpfr.jl:887
 [2] asind(x)
     @ special/trig.jl:1287

Examples

Real Numbers

julia> asind(0)
0.0

julia> asind(0.5)
30.000000000000004

julia> asind(1)
90.0

Complex

julia> asind(0+0im)
0.0 + 0.0im

Tips

See Also

asin

Extended Inputs

Tech Notes

  • Implemented in terms of asin: asind(x) = rad2deg(asin(x))

Version History

Introduced in Julia v1.0 (2018)