Yeppp!  0.9.2
 All Data Structures Functions Variables Enumerations Enumerator Groups Pages
yepMath: vector mathematical functions.

Natural Logarithm

enum YepStatus yepMath_Log_V64f_V64f (const Yep64f *restrict numberPointer, Yep64f *restrict logNumberPointer, YepSize 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.
 

Detailed Description

Function Documentation

enum YepStatus yepMath_Log_V64f_V64f ( const Yep64f *restrict  numberPointer,
Yep64f *restrict  logNumberPointer,
YepSize  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.

Parameters
[in]numberPointerPointer the input array of double-precision (64-bit) floating-point elements to compute logarithms on.
[out]logNumberPointerPointer the output array of double-precision (64-bit) floating-point elements to store the logarithm values.
[in]lengthThe length of the arrays pointed by numberPointer and logNumberPointer.
Return values
YepStatusOkThe computations finished successfully.
YepStatusNullPointerOne of the numberPointer or logNumberPointer arguments is null.
YepStatusMisalignedPointerOne of the numberPointer or logNumberPointer arguments is not properly aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE, SSE4.2, SSE4.1, SSE2
Examples:
Entropy.cpp.