Yeppp!
 All Classes Functions Variables Pages
List of all members
Math Class Reference

Vector mathematical functions. More...

Static Public Member Functions

Natural Logarithm
static native void Log_V64f_V64f (double[] numberArray, int numberOffset, double[] logNumberArray, int logNumberOffset, int length)
 Computes vector logarithm of double-precision (64-bit) floating-point elements in the input array, producing an array of double-precision (64-bit) floating-point elements in the output array. More...
 
Base-e Exponent
static native void Exp_V64f_V64f (double[] xArray, int xOffset, double[] yArray, int yOffset, int length)
 Computes vector exponent of double-precision (64-bit) floating-point elements in the input array, producing an array of double-precision (64-bit) floating-point elements in the output array. More...
 

Detailed Description

Vector mathematical functions.

Member Function Documentation

static native void Log_V64f_V64f ( double[]  numberArray,
int  numberOffset,
double[]  logNumberArray,
int  logNumberOffset,
int  length 
)
static

Computes vector logarithm of double-precision (64-bit) floating-point elements in the input array, producing an array of double-precision (64-bit) floating-point elements in the output array.

Parameters
[in]xArrayInput array of double-precision (64-bit) floating-point elements to compute logarithm on.
[in]xOffsetOffset of the first element in xArray to be used as input.
[out]yArrayPointer the output array of double-precision (64-bit) floating-point elements to store the logarithm values.
[in]yOffsetOffset of the first element in yArray to be used as output.
[in]lengthThe length of the subarrays to be used in computation.
Exceptions
NullPointerExceptionIf xArray or yArray argument is null.
InvalidArgumentExceptionIf the xOffset or yOffset argument is negative.
NegativeArraySizeExceptionIf the length argument is null.
IndexOutOfBoundsExceptionIf xOffset + length exceeds the length of xArray array or yOffset + length exceeds the length of yArray array.
MisalignedPointerErrorIf one of the arrays is not properly aligned.
static native void Exp_V64f_V64f ( double[]  xArray,
int  xOffset,
double[]  yArray,
int  yOffset,
int  length 
)
static

Computes vector exponent of double-precision (64-bit) floating-point elements in the input array, producing an array of double-precision (64-bit) floating-point elements in the output array.

Parameters
[in]xArrayInput array of double-precision (64-bit) floating-point elements to compute exponent on.
[in]xOffsetOffset of the first element in xArray to be used as input.
[out]yArrayPointer the output array of double-precision (64-bit) floating-point elements to store the exponent values.
[in]yOffsetOffset of the first element in yArray to be used as output.
[in]lengthThe length of the subarrays to be used in computation.
Exceptions
NullPointerExceptionIf xArray or yArray argument is null.
InvalidArgumentExceptionIf the xOffset or yOffset argument is negative.
NegativeArraySizeExceptionIf the length argument is null.
IndexOutOfBoundsExceptionIf xOffset + length exceeds the length of xArray array or yOffset + length exceeds the length of yArray array.
MisalignedPointerErrorIf one of the arrays is not properly aligned.