Functions | |
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_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 | SSE, AVX, FMA3 |
x86-64 | Intel Bonnell | SSE |
x86-64 | AMD Bulldozer | AVX, FMA4 |
ARM | ARM Cortex-A9 | VFP2, NEON |
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, SSE3 |
x86-64 | Intel Nehalem | SSE2, SSE3 |
x86-64 | Intel Sandy Bridge | AVX |
x86-64 | Intel Haswell | SSE, AVX, FMA3 |
x86-64 | Intel Bonnell | SSE, SSE2 |
x86-64 | AMD Bulldozer | AVX, FMA4 |
ARM | ARM Cortex-A9 | VFP2, VFPd32 |