Procedure call syntax:
| #include <simdmath.h> |
| vector double fdimd2(vector double x, vector double y); |
| Link with -lsimdmath |
Inline call syntax:
| #include <simdmath.h> |
| #include <fdimd2.h> |
| vector double _fdimd2(vector double x, vector double y); |
| Parameters | |
| x,y | input vectors |
The fdimd2 function returns a vector of the positive differences between the elements of the input vectors.
The function fdimd2 returns a double vector in which each element is defined as the larger of (x - y) and zero, for corresponding elements of x and y.
SPU only
SIMD Math library specification for the Cell Broadband Engine⢠Architecture.
Basis
ISO9899 (C99) fdim functions.