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

Natural Logarithm

enum YepStatus yepMath_Log_V64f_V64f (const Yep64f *restrict xPointer, Yep64f *restrict yPointer, YepSize length)
 Computes logarithm on double-precision (64-bit) floating-point elements. More...
 

Base-e Exponent

enum YepStatus yepMath_Exp_V64f_V64f (const Yep64f *restrict xPointer, Yep64f *restrict yPointer, YepSize length)
 Computes exponent on double-precision (64-bit) floating-point elements. More...
 

Sine

enum YepStatus yepMath_Sin_V64f_V64f (const Yep64f *restrict xPointer, Yep64f *restrict yPointer, YepSize length)
 Computes sine on double-precision (64-bit) floating-point elements. More...
 

Tangent

enum YepStatus yepMath_Tan_V64f_V64f (const Yep64f *restrict xPointer, Yep64f *restrict yPointer, YepSize length)
 Computes tangent on double-precision (64-bit) floating-point elements. More...
 

Detailed Description

Function Documentation

enum YepStatus yepMath_Log_V64f_V64f ( const Yep64f *restrict  xPointer,
Yep64f *restrict  yPointer,
YepSize  length 
)

Computes logarithm on double-precision (64-bit) floating-point elements.

Parameters
[in]xPointerPointer the input array.
[out]yPointerPointer the output array.
[in]lengthThe length of the arrays pointed by xPointer and yPointer.
Return values
YepStatusOkThe computations finished successfully.
YepStatusNullPointerOne of the xPointer or yPointer arguments is null.
YepStatusMisalignedPointerOne of the xPointer or yPointer arguments is not properly aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE, SSE2, SSE4.1
x86-64Intel Sandy BridgeAVX
x86-64AMD K10SSE, SSE2
x86-64AMD BulldozerAVX, FMA4, XOP
x86-64AMD BobcatSSE, SSE2
Examples:
Entropy.c.
enum YepStatus yepMath_Exp_V64f_V64f ( const Yep64f *restrict  xPointer,
Yep64f *restrict  yPointer,
YepSize  length 
)

Computes exponent on double-precision (64-bit) floating-point elements.

Parameters
[in]xPointerPointer the input array.
[out]yPointerPointer the output array.
[in]lengthThe length of the arrays pointed by xPointer and yPointer.
Return values
YepStatusOkThe computations finished successfully.
YepStatusNullPointerOne of the xPointer or yPointer arguments is null.
YepStatusMisalignedPointerOne of the xPointer or yPointer arguments is not properly aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE, SSE2, SSE4.1
x86-64Intel Sandy BridgeAVX
x86-64Intel HaswellAVX, AVX2, FMA3
x86-64AMD K10CMOV, SSE, SSE2
x86-64AMD BulldozerAVX, FMA4
x86-64AMD BobcatCMOV, SSE, SSE2
enum YepStatus yepMath_Sin_V64f_V64f ( const Yep64f *restrict  xPointer,
Yep64f *restrict  yPointer,
YepSize  length 
)

Computes sine on double-precision (64-bit) floating-point elements.

Parameters
[in]xPointerPointer the input array.
[out]yPointerPointer the output array.
[in]lengthThe length of the arrays pointed by xPointer and yPointer.
Return values
YepStatusOkThe computations finished successfully.
YepStatusNullPointerOne of the xPointer or yPointer arguments is null.
YepStatusMisalignedPointerOne of the xPointer or yPointer arguments is not properly aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE, SSE2, SSE4.1
x86-64Intel Sandy BridgeAVX
x86-64AMD BulldozerAVX, FMA4
enum YepStatus yepMath_Tan_V64f_V64f ( const Yep64f *restrict  xPointer,
Yep64f *restrict  yPointer,
YepSize  length 
)

Computes tangent on double-precision (64-bit) floating-point elements.

Parameters
[in]xPointerPointer the input array.
[out]yPointerPointer the output array.
[in]lengthThe length of the arrays pointed by xPointer and yPointer.
Return values
YepStatusOkThe computations finished successfully.
YepStatusNullPointerOne of the xPointer or yPointer arguments is null.
YepStatusMisalignedPointerOne of the xPointer or yPointer arguments is not properly aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64AMD BulldozerAVX, FMA4