Vector mathematical functions.
More...
|
|
static native void | Log_V64f_V64f (double[] xArray, int xOffset, double[] yArray, int yOffset, int length) |
| Computes logarithm on double precision (64-bit) floating-point elements. More...
|
|
|
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...
|
|
|
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...
|
|
|
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...
|
|
|
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...
|
|
|
static native void | EvaluatePolynomial_V32fV32f_V32f (float[] coefArray, int coefOffset, float[] xArray, int xOffset, float[] yArray, int yOffset, int coefCount, int length) |
|
static native void | EvaluatePolynomial_V64fV64f_V64f (double[] coefArray, int coefOffset, double[] xArray, int xOffset, double[] yArray, int yOffset, int coefCount, int length) |
|
Vector mathematical functions.
static native void Log_V64f_V64f |
( |
double[] |
xArray, |
|
|
int |
xOffset, |
|
|
double[] |
yArray, |
|
|
int |
yOffset, |
|
|
int |
length |
|
) |
| |
|
static |
Computes logarithm on double precision (64-bit) floating-point elements.
- Parameters
-
[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. |
- Exceptions
-
NullPointerException | If xArray or yArray argument is null. |
InvalidArgumentException | If the xOffset or yOffset argument is negative. |
NegativeArraySizeException | If the length argument is null. |
IndexOutOfBoundsException | If xOffset + length exceeds the length of xArray array or yOffset + length exceeds the length of yArray array. |
MisalignedPointerError | If one of the arrays is not properly aligned. |
- Optimized implementations
Architecture | Target microarchitecture | Required instruction extensions |
x86-64 | Intel Nehalem | SSE, SSE2, SSE4.1 |
x86-64 | Intel Sandy Bridge | AVX |
x86-64 | AMD K10 | SSE, SSE2 |
x86-64 | AMD Bulldozer | AVX, FMA4, XOP |
x86-64 | AMD Bobcat | SSE, SSE2 |
static native void Exp_V64f_V64f |
( |
double[] |
xArray, |
|
|
int |
xOffset, |
|
|
double[] |
yArray, |
|
|
int |
yOffset, |
|
|
int |
length |
|
) |
| |
|
static |
Computes exponent on double precision (64-bit) floating-point elements.
- Parameters
-
[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. |
- Exceptions
-
NullPointerException | If xArray or yArray argument is null. |
InvalidArgumentException | If the xOffset or yOffset argument is negative. |
NegativeArraySizeException | If the length argument is null. |
IndexOutOfBoundsException | If xOffset + length exceeds the length of xArray array or yOffset + length exceeds the length of yArray array. |
MisalignedPointerError | If one of the arrays is not properly aligned. |
- Optimized implementations
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 native void Sin_V64f_V64f |
( |
double[] |
xArray, |
|
|
int |
xOffset, |
|
|
double[] |
yArray, |
|
|
int |
yOffset, |
|
|
int |
length |
|
) |
| |
|
static |
Computes sine on double precision (64-bit) floating-point elements.
- Parameters
-
[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. |
- Exceptions
-
NullPointerException | If xArray or yArray argument is null. |
InvalidArgumentException | If the xOffset or yOffset argument is negative. |
NegativeArraySizeException | If the length argument is null. |
IndexOutOfBoundsException | If xOffset + length exceeds the length of xArray array or yOffset + length exceeds the length of yArray array. |
MisalignedPointerError | If one of the arrays is not properly aligned. |
- Optimized implementations
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 native void Cos_V64f_V64f |
( |
double[] |
xArray, |
|
|
int |
xOffset, |
|
|
double[] |
yArray, |
|
|
int |
yOffset, |
|
|
int |
length |
|
) |
| |
|
static |
Computes cosine on double precision (64-bit) floating-point elements.
- Parameters
-
[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. |
- Exceptions
-
NullPointerException | If xArray or yArray argument is null. |
InvalidArgumentException | If the xOffset or yOffset argument is negative. |
NegativeArraySizeException | If the length argument is null. |
IndexOutOfBoundsException | If xOffset + length exceeds the length of xArray array or yOffset + length exceeds the length of yArray array. |
MisalignedPointerError | If one of the arrays is not properly aligned. |
- Optimized implementations
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 native void Tan_V64f_V64f |
( |
double[] |
xArray, |
|
|
int |
xOffset, |
|
|
double[] |
yArray, |
|
|
int |
yOffset, |
|
|
int |
length |
|
) |
| |
|
static |
Computes tangent on double precision (64-bit) floating-point elements.
- Parameters
-
[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. |
- Exceptions
-
NullPointerException | If xArray or yArray argument is null. |
InvalidArgumentException | If the xOffset or yOffset argument is negative. |
NegativeArraySizeException | If the length argument is null. |
IndexOutOfBoundsException | If xOffset + length exceeds the length of xArray array or yOffset + length exceeds the length of yArray array. |
MisalignedPointerError | If one of the arrays is not properly aligned. |
- Optimized implementations
Architecture | Target microarchitecture | Required instruction extensions |
x86-64 | AMD Bulldozer | AVX, FMA4 |