Function Description
Function Naming Rules
v<character> <name> ( )
Table 1 describes the values of <character>. Table 2 describes the values of <name>.
<character> |
Description |
|---|---|
s |
Single-precision floating-point real number |
c |
Single-precision floating-point complex number |
d |
Double-precision floating-point real number |
z |
Double-precision floating-point complex number |
<name> |
Data Type |
Description |
|---|---|---|
add |
s, d, c, z |
Adds vectors. |
sub |
s, d, c, z |
Subtracts vectors. |
sqr |
s, d |
Squares a vector. |
mul |
s, d, c, z |
Multiplies vectors. |
div |
s, d, c, z |
Computes the quotient of vectors. |
sqrt |
s, d, c, z |
Computes the square root of a vector. |
cbrt |
s, d |
Computes the cube root of a vector. |
abs |
s, d, c, z |
Computes the absolute value of a real number or the modulus of a complex number. |
hypot |
s, d |
Computes the hypotenuse of a right triangle. |
inv |
s, d |
Computes the reciprocal of a vector. |
invcbrt |
s, d |
Computes the reciprocal of the cube root of a vector. |
invsqrt |
s, d |
Computes the reciprocal of the square root of a vector. |
linearfrac |
s, d |
Performs linear fraction transformation. |
remainder |
s, d |
Computes the remainder. |
pow |
s, d, c, z |
Power function a^b. |
powx |
s, d, c, z |
Power function a^b (b as a scalar). |
powr |
s, d |
Power function a^b (a ≥ 0). |
pow2o3 |
s, d |
Computes the value of x raised to the power of 2/3. |
pow3o2 |
s, d |
Computes the value of x raised to the power of 3/2. |
exp |
s, d, c, z |
Exponential function (base e). |
exp2 |
s, d |
Exponential function (base 2). |
exp10 |
s, d |
Exponential function (base 10). |
expm1 |
s, d |
Returns e raised to the power of a number, subtracted by 1. |
ln |
s, d, c, z |
Computes the base-e logarithm of a vector. |
log10 |
s, d, c, z |
Computes the base-10 logarithm of a vector. |
log1p |
s, d |
Adds 1 to the base-e logarithm of a vector. |
log2 |
s, d |
Computes the base-2 logarithm of a vector. |
logb |
s, d |
Rounds the base-2 logarithm of a vector. |
cos |
s, d, c, z |
Computes the cosine of a vector. |
sin |
s, d, c, z |
Computes the sine of a vector. |
tan |
s, d, c, z |
Computes the tangent of a vector. |
atan |
s, d, c, z |
Computes the arctangent of a vector. |
atanpi |
s, d |
Computes the arctangent of a vector, divided by π. |
atan2 |
s, d |
Computes the four-quadrant arctangent of two variables. |
atan2pi |
s, d |
Computes the four-quadrant arctangent of two variables, divided by π. |
sincos |
s, d |
Computes the sine and cosine of a vector. |
sinh |
s, d, c, z |
Hyperbolic sine function |
cosh |
s, d, c, z |
Hyperbolic cosine function |
tanh |
s, d, c, z |
Hyperbolic tangent function |
asinh |
s, d, c, z |
Hyperbolic arcsine function |
acosh |
s, d, c, z |
Hyperbolic arccosine function |
atanh |
s, d, c, z |
Hyperbolic arctangent function |
sind |
s, d |
Computes the sine of an input degree angle. |
cosd |
s, d |
Computes the cosine of an input degree angle. |
trunc |
s, d |
Computes the integer value rounded towards 0 for x. |
round |
s, d |
Computes the value rounded to the nearest integer for x. |
nearbyint |
s, d |
Computes the rounded integer value for x in the current rounding mode. |
rint |
s, d |
Computes the rounded integer value for x in the current rounding mode. |
frac |
s, d |
Computes the factional part of x. |
fmod |
s, d |
Computes the modulus. |
arg |
c, z |
Computes the argument. |
conj |
c, z |
Computes the conjugate value. |
mulbyconj |
c, z |
Multiplies the elements in the first vector by the conjugate values of elements in the second vector. |
cis |
c, z |
Computes the complex result of |
acos |
s, d, c, z |
Computes the arccosine of a vector. |
asin |
s, d, c, z |
Computes the arcsine of a vector. |
cospi |
s, d |
Computes the cosine of an input real vector multiplied by π. |
sinpi |
s, d |
Computes the sine of an input real vector multiplied by π. |
tanpi |
s, d |
Computes the tangent of an input real vector multiplied by π. |
acospi |
s, d |
Computes the arccosine of the input real vector and divide the arccosine by π. |
asinpi |
s, d |
Computes the arcsine of the input real vector and divide the arcsine by π. |
tand |
s, d |
Computes the tangent of an input degree angle. |
erf |
s, d |
Computes the error function value of the input vector x. |
erfc |
s, d |
Computes the complementary error function value of the input vector x. |
cdfnorm |
s, d |
Computes the cumulative normal distribution function value of the input vector x. |
erfinv |
s, d |
Computes the inverse error function value of the input vector x. |
erfcinv |
s, d |
Computes the inverse complementary error function value of the input vector x. |
cdfnorminv |
s, d |
Computes the inverse cumulative normal distribution function value of the input vector x. |
lgamma |
s, d |
Computes the natural logarithm of the absolute value of the gamma function for the input vector x. |
tgamma |
s, d |
Computes the gamma function of the input vector x. |
expint1 |
s, d |
Computes the exponential integral of a vector. |
floor |
s, d |
Computes an integer value rounded towards minus infinity for an input vector. |
ceil |
s, d |
Computes an integer value rounded towards plus infinity for an input vector. |
modf |
s, d |
Computes a truncated integer value and the remaining fraction part for the input vector. |
copysign |
s, d |
Copies the sign bit of input vector 2 to input vector 1. |
nextafter |
s, d |
Returns the next representable value in the specified return format after x in the direction of y. |
fdim |
s, d |
Returns the difference of x - y if x > y or 0 otherwise. |
fmax |
s, d |
Returns the larger one of vectors x and y. |
fmin |
s, d |
Returns the smaller one of vectors x and y. |
fmaxmag |
s, d |
Returns the one with a larger magnitude in x and y. |
fminmag |
s, d |
Returns the one with a smaller magnitude in x and y. |
