Procedure call syntax:
#include <simdmath.h> |
(void) sincosd2(vector double x, vector double *sx, vector double *cx); |
Link with -lsimdmath |
Inline call syntax:
#include <simdmath.h> |
#include <sincosd2.h> |
(void) _sincosd2(vector double x, vector double *sx, vector double *cx); |
Input parameter | |
x | input vector |
Return parameters | |
*sx | pointer to a vector of sines |
*cx | pointer to a vector of cosines |
The sincosd2 function returns two vectors containing the sines and cosines of the elements of x.
The function sincosd2 returns two double vectors in which each element is defined as sin(x) and cos(x).
SPU only
SIMD Math library specification for the Cell Broadband Engineā¢ Architecture.
Basis
ISO9899 (C99) sin and cos functions.