Visible to Intel only — GUID: GUID-81C345B6-4842-4762-922A-9AF57A5E0326
Visible to Intel only — GUID: GUID-81C345B6-4842-4762-922A-9AF57A5E0326
VM Mathematical Functions
This section describes VM functions that compute values of mathematical functions on real and complex vector arguments.
Each function is introduced by its short name, a brief description of its purpose, and the calling sequence for each type of data, as well as a description of the input/output arguments.
The input range of parameters is equal to the mathematical range of the input data type, unless the function description specifies input threshold values, which mark off the precision overflow, as follows:
FLT16_MAX denotes the maximum number representable in half precision real data type
FLT_MAX denotes the maximum number representable in single precision real data type
DBL_MAX denotes the maximum number representable in double precision real data type
The following table lists available mathematical functions and associated data types.
Function |
Data Types |
Description |
---|---|---|
Arithmetic Functions |
||
h, s, d, c, z |
Adds vector elements |
|
h, s, d, c, z |
Subtracts vector elements |
|
h, s, d |
Squares vector elements |
|
h, s, d, c, z |
Multiplies vector elements |
|
c, z |
Multiplies elements of one vector by conjugated elements of the second vector |
|
c, z |
Conjugates vector elements |
|
h, s, d, c, z |
Computes the absolute value of vector elements |
|
c, z |
Computes the argument of vector elements |
|
h, s, d |
Performs linear fraction transformation of vectors |
|
h, s, d |
Performs element by element computation of the modulus function of vector a with respect to vector b |
|
h, s, d |
Performs element by element computation of the remainder function on the elements of vector a and the corresponding elements of vector b |
|
Power and Root Functions |
||
h, s, d |
Inverts vector elements |
|
h, s, d, c, z |
Divides elements of one vector by elements of the second vector |
|
h, s, d, c, z |
Computes the square root of vector elements |
|
h, s, d |
Computes the inverse square root of vector elements |
|
h, s, d |
Computes the cube root of vector elements |
|
h, s, d |
Computes the inverse cube root of vector elements |
|
h, s, d |
Computes the cube root of the square of each vector element |
|
h, s, d |
Computes the square root of the cube of each vector element |
|
h, s, d, c, z |
Raises each vector element to the specified power |
|
h, s, d, c, z |
Raises each vector element to the constant power |
|
h, s, d |
Computes a to the power b for elements of two vectors, where the elements of vector argument a are all non-negative |
|
h, s, d |
Computes the square root of sum of squares |
|
Exponential and Logarithmic Functions |
||
h, s, d, c, z |
Computes the base e exponential of vector elements |
|
h, s, d |
Computes the base 2 exponential of vector elements |
|
h, s, d |
Computes the base 10 exponential of vector elements |
|
h, s, d |
Computes the base e exponential of vector elements decreased by 1 |
|
h, s, d, c, z |
Computes the natural logarithm of vector elements |
|
h, s, d |
Computes the base 2 logarithm of vector elements |
|
h, s, d, c, z |
Computes the base 10 logarithm of vector elements |
|
h, s, d |
Computes the natural logarithm of vector elements that are increased by 1 |
|
h, s, d |
Computes the exponents of the elements of input vector a |
|
Trigonometric Functions |
||
h, s, d, c, z |
Computes the cosine of vector elements |
|
h, s, d, c, z |
Computes the sine of vector elements |
|
h, s, d |
Computes the sine and cosine of vector elements |
|
c, z |
Computes the complex exponent of vector elements (cosine and sine combined to complex value) |
|
h, s, d, c, z |
Computes the tangent of vector elements |
|
h, s, d, c, z |
Computes the inverse cosine of vector elements |
|
h, s, d, c, z |
Computes the inverse sine of vector elements |
|
h, s, d, c, z |
Computes the inverse tangent of vector elements |
|
h, s, d |
Computes the four-quadrant inverse tangent of ratios of the elements of two vectors |
|
h, s, d |
Computes the cosine of vector elements multiplied by |
|
h, s, d |
Computes the sine of vector elements multiplied by |
|
h, s, d |
Computes the tangent of vector elements multiplied by |
|
h, s, d |
Computes the inverse cosine of vector elements divided by |
|
h, s, d |
Computes the inverse sine of vector elements divided by |
|
h, s, d |
Computes the inverse tangent of vector elements divided by |
|
h, s, d |
Computes the four-quadrant inverse tangent of the ratios of the corresponding elementss of two vectors divided by |
|
h, s, d |
Computes the cosine of vector elements multiplied by /180 |
|
h, s, d |
Computes the sine of vector elements multiplied by /180 |
|
h, s, d |
Computes the tangent of vector elements multiplied by /180 |
|
Hyperbolic Functions |
||
h, s, d, c, z |
Computes the hyperbolic cosine of vector elements |
|
h, s, d, c, z |
Computes the hyperbolic sine of vector elements |
|
h, s, d, c, z |
Computes the hyperbolic tangent of vector elements |
|
h, s, d, c, z |
Computes the inverse hyperbolic cosine of vector elements |
|
h, s, d, c, z |
Computes the inverse hyperbolic sine of vector elements |
|
h, s, d, c, z |
Computes the inverse hyperbolic tangent of vector elements. |
|
Special Functions |
||
h, s, d |
Computes the error function value of vector elements |
|
h, s, d |
Computes the complementary error function value of vector elements |
|
h, s, d |
Computes the scaled complementary error function value of vector elements |
|
h, s, d |
Computes the cumulative normal distribution function value of vector elements |
|
h, s, d |
Computes the inverse error function value of vector elements |
|
h, s, d |
Computes the inverse complementary error function value of vector elements |
|
h, s, d |
Computes the inverse cumulative normal distribution function value of vector elements |
|
h, s, d |
Computes the natural logarithm for the absolute value of the gamma function of vector elements |
|
h, s, d |
Computes the gamma function of vector elements |
|
h, s, d |
Computes the exponential integral of vector elements |
|
h, s, d |
Computes the regular modified cylindrical Bessel function of order 0 |
|
h, s, d |
Computes the regular modified cylindrical Bessel function of order 1 |
|
h, s, d |
Computes the Bessel function of the first kind of order 0 |
|
h, s, d |
Computes the Bessel function of the first kind of order 1 |
|
h, s, d |
Computes the Bessel function of the first kind of a given order |
|
h, s, d |
Computes the Bessel function of the second kind of order 0 |
|
h, s, d |
Computes the Bessel function of the second kind of order 1 |
|
h, s, d |
Computes the Bessel function of the second kind of a given order |
|
Rounding Functions |
||
h, s, d |
Rounds towards minus infinity |
|
h, s, d |
Rounds towards plus infinity |
|
h, s, d |
Rounds towards zero infinity |
|
h, s, d |
Rounds to nearest integer |
|
h, s, d |
Rounds according to current mode |
|
h, s, d |
Rounds according to current mode and raising inexact result exception |
|
h, s, d |
Computes the integer and fractional parts |
|
h, s, d |
Computes the fractional part |
|
Miscellaneous Functions |
||
h, s, d |
Returns vector of elements of one argument with signs changed to match other argument elements |
|
h, s, d |
Returns vector of elements containing the next representable floating-point values following the values from the elements of one vector in the direction of the corresponding elements of another vector |
|
h, s, d |
Returns vector containing the differences of the corresponding elements of the vector arguments if the first is larger and +0 otherwise |
|
h, s, d |
Returns the larger of each pair of elements of the two vector arguments |
|
h, s, d |
Returns the smaller of each pair of elements of the two vector arguments |
|
h, s, d |
Returns the element with the larger magnitude between each pair of elements of the two vector arguments |
|
h, s, d |
Returns the element with the smaller magnitude between each pair of elements of the two vector arguments |