Vector mathematical functions. More...
Static Public Member Functions | |
Natural logarithm | |
static native 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... | |
Base-e exponent | |
static native 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... | |
Sine | |
static native 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... | |
Cosine | |
static native 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... | |
Tangent | |
static native 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... | |
Polynomial evaluation | |
static native 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 native 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... | |
Vector mathematical functions.
|
static |
Computes natural logarithm on double precision (64-bit) floating-point elements.
[in] | xArray | Input array. |
[in] | xOffset | Offset of the first element in xArray. |
[out] | yArray | Output array. |
[in] | yOffset | Offset of the first element in yArray. |
[in] | length | The length of the subarrays to be used in computation. |
NullPointerException | If xArray or yArray is null. |
MisalignedPointerError | If xArray or yArray is not naturally aligned. |
InvalidArgumentException | If xOffset or yOffset is negative. |
NegativeArraySizeException | If length is negative. |
IndexOutOfBoundsException | If xOffset + length exceeds the length of xArray or yOffset + length exceeds the length of yArray. |
Architecture | Target microarchitecture | Required instruction extensions |
---|---|---|
x86-64 | Intel Nehalem | SSE, SSE2, SSE4.1 |
x86-64 | Intel Sandy Bridge | AVX |
x86-64 | Intel Haswell | AVX, AVX2, FMA3 |
x86-64 | AMD K10 | SSE, SSE2 |
x86-64 | AMD Bulldozer | AVX, FMA4, XOP |
x86-64 | AMD Bobcat | SSE, SSE2 |
|
static |
Computes exponent on double precision (64-bit) floating-point elements.
[in] | xArray | Input array. |
[in] | xOffset | Offset of the first element in xArray. |
[out] | yArray | Output array. |
[in] | yOffset | Offset of the first element in yArray. |
[in] | length | Length of the subarrays to be used in computation. |
NullPointerException | If xArray or yArray is null. |
MisalignedPointerError | If xArray or yArray is not naturally aligned. |
InvalidArgumentException | If xOffset or yOffset is negative. |
NegativeArraySizeException | If length is negative. |
IndexOutOfBoundsException | If xOffset + length exceeds the length of xArray or yOffset + length exceeds the length of yArray. |
Architecture | Target microarchitecture | Required instruction extensions |
---|---|---|
x86-64 | Intel Nehalem | SSE, SSE2, SSE4.1 |
x86-64 | Intel Sandy Bridge | AVX |
x86-64 | Intel Haswell | AVX, AVX2, FMA3 |
x86-64 | AMD K10 | CMOV, SSE, SSE2 |
x86-64 | AMD Bulldozer | AVX, FMA4 |
x86-64 | AMD Bobcat | CMOV, SSE, SSE2 |
|
static |
Computes sine on double precision (64-bit) floating-point elements.
[in] | xArray | Input array. |
[in] | xOffset | Offset of the first element in xArray. |
[out] | yArray | Output array. |
[in] | yOffset | Offset of the first element in yArray. |
[in] | length | The length of the subarrays to be used in computation. |
NullPointerException | If xArray or yArray is null. |
MisalignedPointerError | If xArray or yArray is not naturally aligned. |
InvalidArgumentException | If xOffset or yOffset is negative. |
NegativeArraySizeException | If length is negative. |
IndexOutOfBoundsException | If xOffset + length exceeds the length of xArray or yOffset + length exceeds the length of yArray. |
Architecture | Target microarchitecture | Required instruction extensions |
---|---|---|
x86-64 | Intel Nehalem | SSE, SSE2, SSE4.1 |
x86-64 | Intel Sandy Bridge | AVX |
x86-64 | Intel Haswell | AVX, AVX2, FMA3 |
x86-64 | AMD Bulldozer | AVX, FMA4 |
|
static |
Computes cosine on double precision (64-bit) floating-point elements.
[in] | xArray | Input array. |
[in] | xOffset | Offset of the first element in xArray. |
[out] | yArray | Output array. |
[in] | yOffset | Offset of the first element in yArray. |
[in] | length | The length of the subarrays to be used in computation. |
NullPointerException | If xArray or yArray is null. |
MisalignedPointerError | If xArray or yArray is not naturally aligned. |
InvalidArgumentException | If xOffset or yOffset is negative. |
NegativeArraySizeException | If length is negative. |
IndexOutOfBoundsException | If xOffset + length exceeds the length of xArray or yOffset + length exceeds the length of yArray. |
Architecture | Target microarchitecture | Required instruction extensions |
---|---|---|
x86-64 | Intel Nehalem | SSE, SSE2, SSE4.1 |
x86-64 | Intel Sandy Bridge | AVX |
x86-64 | Intel Haswell | AVX, AVX2, FMA3 |
x86-64 | AMD Bulldozer | AVX, FMA4 |
|
static |
Computes tangent on double precision (64-bit) floating-point elements.
[in] | xArray | Input array. |
[in] | xOffset | Offset of the first element in xArray. |
[out] | yArray | Output array. |
[in] | yOffset | Offset of the first element in yArray. |
[in] | length | The length of the slices of xArray and yArray to use in computation. |
NullPointerException | If xArray or yArray is null. |
MisalignedPointerError | If xArray or yArray is not naturally aligned. |
InvalidArgumentException | If xOffset or yOffset is negative. |
NegativeArraySizeException | If length is negative. |
IndexOutOfBoundsException | If xOffset + length exceeds the length of xArray or yOffset + length exceeds the length of yArray. |
Architecture | Target microarchitecture | Required instruction extensions |
---|---|---|
x86-64 | AMD Bulldozer | AVX, FMA4 |
|
static |
Evaluates polynomial with single precision (32-bit) floating-point coefficients on an array of single precision (32-bit) floating-point elements.
[in] | xArray | Array of elements on which the polynomial will be evaluated. |
[in] | xOffset | Offset of the first element in xArray. |
[in] | coefArray | Array of polynomial coefficients. |
[in] | coefOffset | Offset of the first element in yArray. |
[out] | yArray | Array where the result of polynomial evaluation will be stored. |
[in] | yOffset | Offset of the first element in yArray. |
[in] | coefCount | The length of the slice of coef to be used in computation. |
[in] | length | The length of the slice of xArray and yArray to use in computation. |
NullPointerException | If coefArray, xArray or yArray is null. |
MisalignedPointerError | If coefArray, xArray or yArray is not naturally aligned. |
InvalidArgumentException | If coefOffset, xOffset or yOffset is negative or coefCount is zero. |
NegativeArraySizeException | If coefCount or length is negative. |
IndexOutOfBoundsException | If coefOffset + coefCount exceeds the length of coefArray, xOffset + length exceeds the length of xArray or yOffset + length exceeds the length of yArray. |
Architecture | Target microarchitecture | Required instruction extensions |
---|---|---|
x86-64 | Intel Nehalem | SSE |
x86-64 | Intel Sandy Bridge | AVX |
x86-64 | Intel Haswell | SSE, AVX, FMA3 |
x86-64 | Intel Bonnell | SSE |
x86-64 | AMD Bulldozer | AVX, FMA4 |
ARM | ARM Cortex-A9 | VFP2, NEON |
|
static |
Evaluates polynomial with double precision (64-bit) floating-point coefficients on an array of double precision (64-bit) floating-point elements.
[in] | xArray | Array of elements on which the polynomial will be evaluated. |
[in] | xOffset | Offset of the first element in xArray. |
[in] | coefArray | Array of polynomial coefficients. |
[in] | coefOffset | Offset of the first element in yArray. |
[out] | yArray | Array where the result of polynomial evaluation will be stored. |
[in] | yOffset | Offset of the first element in yArray. |
[in] | coefCount | The length of the slice of coef to be used in computation. |
[in] | length | The length of the slice of xArray and yArray to use in computation. |
NullPointerException | If coefArray, xArray or yArray is null. |
MisalignedPointerError | If coefArray, xArray or yArray is not naturally aligned. |
InvalidArgumentException | If coefOffset, xOffset or yOffset is negative or coefCount is zero. |
NegativeArraySizeException | If coefCount or length is negative. |
IndexOutOfBoundsException | If coefOffset + coefCount exceeds the length of coefArray, xOffset + length exceeds the length of xArray or yOffset + length exceeds the length of yArray. |
Architecture | Target microarchitecture | Required instruction extensions |
---|---|---|
x86-64 | Intel Nehalem | SSE2, SSE3 |
x86-64 | Intel Sandy Bridge | AVX |
x86-64 | Intel Haswell | SSE, AVX, FMA3 |
x86-64 | Intel Bonnell | SSE, SSE2 |
x86-64 | AMD Bulldozer | AVX, FMA4 |
ARM | ARM Cortex-A9 | VFP2, VFPd32 |