JLFloat64SpecialFunctions
jf64sf.spad line 1 [edit on github]
Special functions computed using JL
's
ecosystem. They are here essentially for “completeness” purpose with JLFloat64
. You should use the DoubleFloat's
special functions if available, calling JL
functions is costly.
- acosd: JLFloat64 -> JLFloat64
acosd(x)
computes the inverse cosine of x
, where output is in degrees.
- acotd: JLFloat64 -> JLFloat64
acotd(x)
computes the inverse cotangent of x
, where output is in degrees.
- acscd: JLFloat64 -> JLFloat64
acscd(x)
computes the inverse cosecant of x
, where output is in degrees.
- asecd: JLFloat64 -> JLFloat64
asecd(x)
computes the inverse secant of x
, where output is in degrees.
- asind: JLFloat64 -> JLFloat64
asind(x)
computes the inverse sine of x
, where output is in degrees.
- atand: (JLFloat64, JLFloat64) -> JLFloat64
atand(x, y)
computes the inverse tangent of x/y, where output is in degrees.
- atand: JLFloat64 -> JLFloat64
atand(x)
computes the inverse tangent of x
, where output is in degrees.
- cosc: JLFloat64 -> JLFloat64
cosc(x)
computes cos(pi*x)/x−sin(pi*x)/(pi*x^2
) if x~=0
, and 0 if x=0
i.e. the derivative of sinc(x
).
- cosd: JLFloat64 -> JLFloat64
cosd(x)
computes cosine of x
, where x
is in degrees.
- cospi: JLFloat64 -> JLFloat64
cospi(x)
computes cos(pi*x) more accurately.
- cotd: JLFloat64 -> JLFloat64
cotd(x)
computes cotangent of x
, where x
is in degrees.
- cscd: JLFloat64 -> JLFloat64
cscd(x)
computes cosecant of x
, where x
is in degrees.
- deg2rad: JLFloat64 -> JLFloat64
deg2rad(x)
converts x
to radian, where x
is in degrees.
- exp10: JLFloat64 -> JLFloat64
exp10(x)
computes the base 10 exponential of x
.
- exp2: JLFloat64 -> JLFloat64
exp2(x)
computes the base 2 exponential of x
.
- hypot: (JLFloat64, JLFloat64) -> JLFloat64
hypot(x,y)
computes the hypotenuse avoiding overflow and underflow.
- ldexp: (JLFloat64, JLInt64) -> JLFloat64
ldexp(x,n)
computes x*2^n
- log1p: JLFloat64 -> JLFloat64
log1p(x)
computes accurately natural logarithm of 1+x.
- rad2deg: JLFloat64 -> JLFloat64
rad2deg(x)
converts x
to degrees, where x
is in radians.
- secd: JLFloat64 -> JLFloat64
secd(x)
computes secant of x
, where x
is in degrees.
- sinc: JLFloat64 -> JLFloat64
sinc(x)
computes sin(pi*x)/(pi*x) if x~=0
, and 1 if x=0
.
- sind: JLFloat64 -> JLFloat64
sind(x)
computes sine of x
, where x
is in degrees.
- sinpi: JLFloat64 -> JLFloat64
sinpi(x)
computes sin(pi*x) more accurately.
- tand: JLFloat64 -> JLFloat64
tand(x)
computes tangent of x
, where x
is in degrees.
- tanpi: JLFloat64 -> JLFloat64
tanpi(x)
computes tan(pi*x) more accurately.