fdimd2

NAME

fdimd2 - return the positive differences between double elements

SYNOPSIS

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

DESCRIPTION

The fdimd2 function returns a vector of the positive differences between the elements of the input vectors.

RETURN VALUE

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.

ENVIRONMENT

SPU only

CONFORMING TO

SIMD Math library specification for the Cell Broadband Engineā„¢ Architecture.

NOTES

Basis

ISO9899 (C99) fdim functions.

SEE ALSO

fdim(3), fdimf4(3), fmax(3), fmaxf4(3), fmaxd2(3), fmin(3), fminf4(3), fmind2(3)