vec_nabs
Purpose
Returns a vector containing the results of performing a negative-absolute operation using the given vector.
Syntax
d=vec_nabs(a)
Result and argument types
The following table describes the types of the returned value and the function arguments.
d | a |
---|---|
vector float | vector float |
vector double | vector double |
Result value
This function computes the absolute value of each element in the given vector and then assigns the negated value of the result to the corresponding elements in the result vector.