Vector mathematical functions More...
Static Public Member Functions | |
static unsafe void | Cos_V64f_V64f (double[] xArray, int xOffset, double[] yArray, int yOffset, int length) |
Computes cosine on double precision (64-bit) floating-point elements. More... | |
static unsafe void | Cos_V64f_V64f (double *x, double *y, int length) |
Computes cosine on an array of double precision (64-bit) floating-point elements. More... | |
static unsafe void | EvaluatePolynomial_V32fV32f_V32f (float[] coefArray, int coefOffset, float[] xArray, int xOffset, float[] yArray, int yOffset, int coefCount, int length) |
Evaluates polynomial with single precision (32-bit) floating-point coefficients on an array of single precision (32-bit) floating-point elements. More... | |
static unsafe void | EvaluatePolynomial_V64fV64f_V64f (double[] coefArray, int coefOffset, double[] xArray, int xOffset, double[] yArray, int yOffset, int coefCount, int length) |
Evaluates polynomial with double precision (64-bit) floating-point coefficients on an array of double precision (64-bit) floating-point elements. More... | |
static unsafe void | EvaluatePolynomial_V32fV32f_V32f (float *coef, float *x, float *y, int coefCount, int length) |
Evaluates polynomial with single precision (32-bit) floating-point coefficients on an array of single precision (32-bit) floating-point elements. More... | |
static unsafe void | EvaluatePolynomial_V64fV64f_V64f (double *coef, double *x, double *y, int coefCount, int length) |
Evaluates polynomial with double precision (64-bit) floating-point coefficients on an array of double precision (64-bit) floating-point elements. More... | |
static unsafe void | Exp_V64f_V64f (double[] xArray, int xOffset, double[] yArray, int yOffset, int length) |
Computes exponent on double precision (64-bit) floating-point elements. More... | |
static unsafe void | Exp_V64f_V64f (double *x, double *y, int length) |
Computes base-e exponent on an array of double precision (64-bit) floating-point elements. More... | |
static unsafe void | Log_V64f_V64f (double[] xArray, int xOffset, double[] yArray, int yOffset, int length) |
Computes natural logarithm on double precision (64-bit) floating-point elements. More... | |
static unsafe void | Log_V64f_V64f (double *x, double *y, int length) |
Computes natural logarithm on an array of double precision (64-bit) floating-point elements. More... | |
static unsafe void | Sin_V64f_V64f (double[] xArray, int xOffset, double[] yArray, int yOffset, int length) |
Computes sine on double precision (64-bit) floating-point elements. More... | |
static unsafe void | Sin_V64f_V64f (double *x, double *y, int length) |
Computes sine on an array of double precision (64-bit) floating-point elements. More... | |
static unsafe void | Tan_V64f_V64f (double[] xArray, int xOffset, double[] yArray, int yOffset, int length) |
Computes tangent on double precision (64-bit) floating-point elements. More... | |
static unsafe void | Tan_V64f_V64f (double *x, double *y, int length) |
Computes tangent on an array of double precision (64-bit) floating-point elements. More... | |
Vector mathematical functions
|
inlinestatic |
Computes cosine on double precision (64-bit) floating-point elements.
xArray | Input array. |
xOffset | Offset of the first element in xArray. |
yArray | Output array. |
yOffset | Offset of the first element in yArray. |
length | The length of the subarrays to be used in computation. |
System.NullReferenceException | If xArray or yArray is null. |
System.DataMisalignedException | If xArray or yArray is not naturally aligned. |
System.ArgumentException | If length is negative. |
System.IndexOutOfRangeException | If xOffset is negative, xOffset + length exceeds the length of xArray, yOffset is negative, yOffset + length exceeds the length of yArray, or length is negative. |
|
inlinestatic |
Computes cosine on an array of double precision (64-bit) floating-point elements.
x | Pointer to the array of elements on which cosine will be computed. |
y | Pointer the array where the computed cosines will be stored. |
length | Length of the arrays specified by x and y. |
System.NullReferenceException | If x or y is null. |
System.DataMisalignedException | If x or y is not naturally aligned. |
System.ArgumentException | If length is negative. |
|
inlinestatic |
Evaluates polynomial with single precision (32-bit) floating-point coefficients on an array of single precision (32-bit) floating-point elements.
xArray | Array of elements on which the polynomial will be evaluated. |
xOffset | Offset of the first element in xArray. |
coefArray | Array of polynomial coefficients. |
coefOffset | Offset of the first element in yArray. |
yArray | Array where the result of polynomial evaluation will be stored. |
yOffset | Offset of the first element in yArray. |
coefCount | The length of the slice of coef to be used in computation. |
length | The length of the slice of xArray and yArray to use in computation. |
System.NullReferenceException | If coefArray, xArray or yArray is null. |
System.DataMisalignedException | If coefArray, xArray or yArray is not naturally aligned. |
System.ArgumentException | If coefCount or length is negative or coefCount is zero. |
System.IndexOutOfRangeException | If coefOffset is negative, coefOffset + coefCount exceeds the length of coefArray, xOffset is negative, xOffset + length exceeds the length of xArray, yOffset is negative, yOffset + length exceeds the length of yArray, coefCount is negative, or length is negative. |
|
inlinestatic |
Evaluates polynomial with double precision (64-bit) floating-point coefficients on an array of double precision (64-bit) floating-point elements.
xArray | Array of elements on which the polynomial will be evaluated. |
xOffset | Offset of the first element in xArray. |
coefArray | Array of polynomial coefficients. |
coefOffset | Offset of the first element in yArray. |
yArray | Array where the result of polynomial evaluation will be stored. |
yOffset | Offset of the first element in yArray. |
coefCount | The length of the slice of coef to be used in computation. |
length | The length of the slice of xArray and yArray to use in computation. |
System.NullReferenceException | If coefArray, xArray or yArray is null. |
System.DataMisalignedException | If coefArray, xArray or yArray is not naturally aligned. |
System.ArgumentException | If coefCount or length is negative or coefCount is zero. |
System.IndexOutOfRangeException | If coefOffset is negative, coefOffset + coefCount exceeds the length of coefArray, xOffset is negative, xOffset + length exceeds the length of xArray, yOffset is negative, yOffset + length exceeds the length of yArray, coefCount is negative, or length is negative. |
|
inlinestatic |
Evaluates polynomial with single precision (32-bit) floating-point coefficients on an array of single precision (32-bit) floating-point elements.
x | Pointer to the array of elements on which the polynomial will be evaluated. |
coef | Pointer to the array of polynomial coefficients. |
y | Pointer the array where the result of polynomial evaluation will be stored. |
coefCount | Number of polynomial coefficients. Should equal the polynomial degree plus one. |
length | Length of the arrays specified by x and y. |
System.NullReferenceException | If coef, x or y is null. |
System.DataMisalignedException | If coef, x or y is not naturally aligned. |
System.ArgumentException | If coefCount or length is negative or coefCount is zero. |
|
inlinestatic |
Evaluates polynomial with double precision (64-bit) floating-point coefficients on an array of double precision (64-bit) floating-point elements.
x | Pointer to the array of elements on which the polynomial will be evaluated. |
coef | Pointer to the array of polynomial coefficients. |
y | Pointer the array where the result of polynomial evaluation will be stored. |
coefCount | Number of polynomial coefficients. Should equal the polynomial degree plus one. |
length | Length of the arrays specified by x and y. |
System.NullReferenceException | If coef, x or y is null. |
System.DataMisalignedException | If coef, x or y is not naturally aligned. |
System.ArgumentException | If coefCount or length is negative or coefCount is zero. |
|
inlinestatic |
Computes exponent on double precision (64-bit) floating-point elements.
xArray | Input array. |
xOffset | Offset of the first element in xArray. |
yArray | Output array. |
yOffset | Offset of the first element in yArray. |
length | Length of the subarrays to be used in computation. |
System.NullReferenceException | If xArray or yArray is null. |
System.DataMisalignedException | If xArray or yArray is not naturally aligned. |
System.ArgumentException | If length is negative. |
System.IndexOutOfRangeException | If xOffset is negative, xOffset + length exceeds the length of xArray, yOffset is negative, yOffset + length exceeds the length of yArray, or length is negative. |
|
inlinestatic |
Computes base-e exponent on an array of double precision (64-bit) floating-point elements.
x | Pointer to the array of elements on which exponent will be computed. |
y | Pointer the array where the computed exponents will be stored. |
length | Length of the arrays specified by x and y. |
System.NullReferenceException | If x or y is null. |
System.DataMisalignedException | If x or y is not naturally aligned. |
System.ArgumentException | If length is negative. |
|
inlinestatic |
Computes natural logarithm on double precision (64-bit) floating-point elements.
xArray | Input array. |
xOffset | Offset of the first element in xArray. |
yArray | Output array. |
yOffset | Offset of the first element in yArray. |
length | The length of the subarrays to be used in computation. |
System.NullReferenceException | If xArray or yArray is null. |
System.DataMisalignedException | If xArray or yArray is not naturally aligned. |
System.ArgumentException | If length is negative. |
System.IndexOutOfRangeException | If xOffset is negative, xOffset + length exceeds the length of xArray, yOffset is negative, yOffset + length exceeds the length of yArray, or length is negative. |
|
inlinestatic |
Computes natural logarithm on an array of double precision (64-bit) floating-point elements.
x | Pointer to the array of elements on which logarithm will be computed. |
y | Pointer the array where the computed logarithms will be stored. |
length | Length of the arrays specified by x and y. |
System.NullReferenceException | If x or y is null. |
System.DataMisalignedException | If x or y is not naturally aligned. |
System.ArgumentException | If length is negative. |
|
inlinestatic |
Computes sine on double precision (64-bit) floating-point elements.
xArray | Input array. |
xOffset | Offset of the first element in xArray. |
yArray | Output array. |
yOffset | Offset of the first element in yArray. |
length | The length of the subarrays to be used in computation. |
System.NullReferenceException | If xArray or yArray is null. |
System.DataMisalignedException | If xArray or yArray is not naturally aligned. |
System.ArgumentException | If length is negative. |
System.IndexOutOfRangeException | If xOffset is negative, xOffset + length exceeds the length of xArray, yOffset is negative, yOffset + length exceeds the length of yArray, or length is negative. |
|
inlinestatic |
Computes sine on an array of double precision (64-bit) floating-point elements.
x | Pointer to the array of elements on which sine will be computed. |
y | Pointer the array where the computed sines will be stored. |
length | Length of the arrays specified by x and y. |
System.NullReferenceException | If x or y is null. |
System.DataMisalignedException | If x or y is not naturally aligned. |
System.ArgumentException | If length is negative. |
|
inlinestatic |
Computes tangent on double precision (64-bit) floating-point elements.
xArray | Input array. |
xOffset | Offset of the first element in xArray. |
yArray | Output array. |
yOffset | Offset of the first element in yArray. |
length | The length of the slices of xArray and yArray to use in computation. |
System.NullReferenceException | If xArray or yArray is null. |
System.DataMisalignedException | If xArray or yArray is not naturally aligned. |
System.ArgumentException | If length is negative. |
System.IndexOutOfRangeException | If xOffset is negative, xOffset + length exceeds the length of xArray, yOffset is negative, yOffset + length exceeds the length of yArray, or length is negative. |
|
inlinestatic |
Computes tangent on an array of double precision (64-bit) floating-point elements.
x | Pointer to the array of elements on which tangent will be computed. |
y | Pointer the array where the computed tangents will be stored. |
length | Length of the arrays specified by x and y. |
System.NullReferenceException | If x or y is null. |
System.DataMisalignedException | If x or y is not naturally aligned. |
System.ArgumentException | If length is negative. |