Natural logarithm | |
enum YepStatus | yepMath_Log_V64f_V64f (const Yep64f *restrict x, Yep64f *restrict y, YepSize length) |
Computes logarithm on an array of double precision (64-bit) floating-point elements. More... | |
Base-e exponent | |
enum YepStatus | yepMath_Exp_V64f_V64f (const Yep64f *restrict x, Yep64f *restrict y, YepSize length) |
Computes exponent on double precision (64-bit) floating-point elements. More... | |
Sine | |
enum YepStatus | yepMath_Sin_V64f_V64f (const Yep64f *restrict x, Yep64f *restrict y, YepSize length) |
Computes sine on double precision (64-bit) floating-point elements. More... | |
Cosine | |
enum YepStatus | yepMath_Cos_V64f_V64f (const Yep64f *restrict x, Yep64f *restrict y, YepSize length) |
Computes cosine on double precision (64-bit) floating-point elements. More... | |
Tangent | |
enum YepStatus | yepMath_Tan_V64f_V64f (const Yep64f *restrict x, Yep64f *restrict y, YepSize length) |
Computes tangent on double precision (64-bit) floating-point elements. More... | |
Polynomial evaluation | |
enum YepStatus | yepMath_EvaluatePolynomial_V32fV32f_V32f (const Yep32f *restrict coef, const Yep32f *restrict x, Yep32f *restrict y, YepSize coefCount, YepSize length) |
Evaluates polynomial with single precision (32-bit) floating-point coefficients on an array of single precision (32-bit) floating-point elements. More... | |
enum YepStatus | yepMath_EvaluatePolynomial_V64fV64f_V64f (const Yep64f *restrict coef, const Yep64f *restrict x, Yep64f *restrict y, YepSize coefCount, YepSize length) |
Evaluates polynomial with double precision (64-bit) floating-point coefficients on an array of double precision (64-bit) floating-point elements. More... | |
enum YepStatus yepMath_Log_V64f_V64f | ( | const Yep64f *restrict | x, |
Yep64f *restrict | y, | ||
YepSize | length | ||
) |
Computes logarithm on an array of double precision (64-bit) floating-point elements.
[in] | x | Pointer to the array of elements on which the logarithm will be computed. |
[out] | y | Pointer the array where the computed logarithms will be stored. |
[in] | length | Length of the arrays specified by x and y. |
YepStatusOk | The computation finished successfully. |
YepStatusNullPointer | x or y argument is null. |
YepStatusMisalignedPointer | x or y argument is not naturally aligned. |
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 |
enum YepStatus yepMath_Exp_V64f_V64f | ( | const Yep64f *restrict | x, |
Yep64f *restrict | y, | ||
YepSize | length | ||
) |
Computes exponent on double precision (64-bit) floating-point elements.
[in] | x | Pointer the input array. |
[out] | y | Pointer the output array. |
[in] | length | Length of the arrays specified by x and y. |
YepStatusOk | The computation finished successfully. |
YepStatusNullPointer | x or y argument is null. |
YepStatusMisalignedPointer | x or y argument is not naturally aligned. |
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 |
enum YepStatus yepMath_Sin_V64f_V64f | ( | const Yep64f *restrict | x, |
Yep64f *restrict | y, | ||
YepSize | length | ||
) |
Computes sine on double precision (64-bit) floating-point elements.
[in] | x | Pointer the input array. |
[out] | y | Pointer the output array. |
[in] | length | Length of the arrays specified by x and y. |
YepStatusOk | The computation finished successfully. |
YepStatusNullPointer | x or y argument is null. |
YepStatusMisalignedPointer | x or y argument is not naturally aligned. |
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 |
enum YepStatus yepMath_Cos_V64f_V64f | ( | const Yep64f *restrict | x, |
Yep64f *restrict | y, | ||
YepSize | length | ||
) |
Computes cosine on double precision (64-bit) floating-point elements.
[in] | x | Pointer the input array. |
[out] | y | Pointer the output array. |
[in] | length | Length of the arrays specified by x and y. |
YepStatusOk | The computation finished successfully. |
YepStatusNullPointer | x or y argument is null. |
YepStatusMisalignedPointer | x or y argument is not naturally aligned. |
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 |
enum YepStatus yepMath_Tan_V64f_V64f | ( | const Yep64f *restrict | x, |
Yep64f *restrict | y, | ||
YepSize | length | ||
) |
Computes tangent on double precision (64-bit) floating-point elements.
[in] | x | Pointer the array of elements to compute tangent on. |
[out] | y | Pointer the output array. |
[in] | length | Length of the arrays specified by x and y. |
YepStatusOk | The computation finished successfully. |
YepStatusNullPointer | x or y argument is null. |
YepStatusMisalignedPointer | x or y argument is not naturally aligned. |
Architecture | Target microarchitecture | Required instruction extensions |
---|---|---|
x86-64 | AMD Bulldozer | AVX, FMA4 |
enum YepStatus yepMath_EvaluatePolynomial_V32fV32f_V32f | ( | const Yep32f *restrict | coef, |
const Yep32f *restrict | x, | ||
Yep32f *restrict | y, | ||
YepSize | coefCount, | ||
YepSize | length | ||
) |
Evaluates polynomial with single precision (32-bit) floating-point coefficients on an array of single precision (32-bit) floating-point elements.
[in] | x | Pointer to the array of elements on which the polynomial will be evaluated. |
[in] | coef | Pointer to the array of polynomial coefficients. |
[out] | y | Pointer the array where the result of polynomial evaluation will be stored. |
[in] | coefCount | Number of polynomial coefficients. Should equal the polynomial degree plus one. |
[in] | length | Length of the arrays specified by x and y. |
YepStatusInvalidArgument | coefCount is zero. |
YepStatusOk | The computation finished successfully. |
YepStatusNullPointer | coef, x or y argument is null. |
YepStatusMisalignedPointer | coef, x or y argument is not naturally aligned. |
Architecture | Target microarchitecture | Required instruction extensions |
---|---|---|
x86-64 | Default | SSE |
x86-64 | Intel Nehalem | SSE |
x86-64 | Intel Sandy Bridge | AVX |
x86-64 | Intel Haswell | AVX, FMA3 |
x86-64 | Intel Bonnell | SSE |
x86-64 | AMD Bulldozer | AVX, FMA4 |
enum YepStatus yepMath_EvaluatePolynomial_V64fV64f_V64f | ( | const Yep64f *restrict | coef, |
const Yep64f *restrict | x, | ||
Yep64f *restrict | y, | ||
YepSize | coefCount, | ||
YepSize | length | ||
) |
Evaluates polynomial with double precision (64-bit) floating-point coefficients on an array of double precision (64-bit) floating-point elements.
[in] | x | Pointer to the array of elements on which the polynomial will be evaluated. |
[in] | coef | Pointer to the array of polynomial coefficients. |
[out] | y | Pointer the array where the result of polynomial evaluation will be stored. |
[in] | coefCount | Number of polynomial coefficients. Should equal the polynomial degree plus one. |
[in] | length | Length of the arrays specified by x and y. |
YepStatusInvalidArgument | coefCount is zero. |
YepStatusOk | The computation finished successfully. |
YepStatusNullPointer | coef, x or y argument is null. |
YepStatusMisalignedPointer | coef, x or y argument is not naturally aligned. |
Architecture | Target microarchitecture | Required instruction extensions |
---|---|---|
x86-64 | Default | SSE2 |
x86-64 | Intel Nehalem | SSE, SSE2, SSE3 |
x86-64 | Intel Sandy Bridge | AVX |
x86-64 | Intel Haswell | AVX, FMA3 |
x86-64 | Intel Bonnell | SSE, SSE2 |
x86-64 | AMD Bulldozer | AVX, FMA4 |