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