vec_cpsgn
Purpose
Returns a vector by copying the sign of the elements in vector a
to the sign of the corresponding elements in
vector b
.
Syntax
d=vec_cpsgn(a, b)
Result and argument types
The following table describes the types of the returned value and the function arguments.
d | a | b |
---|---|---|
vector float | vector float | vector float |
vector double | vector double | vector double |