Procedure call syntax:
#include <simdmath.h> |
vector double cosd2(vector double x); |
Link with -lsimdmath |
Inline call syntax:
#include <simdmath.h> |
#include <cosd2.h> |
vector double _cosd2(vector double x); |
Parameters | |
x | input vector |
The cosd2 function returns a vector of the cosines of the elements of x.
The result of the cosd2 function is not accurate for very large values of x, and no error is reported.
The function cosd2 returns a double vector in which each element is defined as the cosine of the corresponding element of x.
SPU only
SIMD Math library specification for the Cell Broadband Engineā¢ Architecture.
Basis
ISO9899 (C99) cos functions.