simdpp::neg(integer)
From libsimdpp-docs
< int
template<unsigned N, class E1>
Ret<N, _DETAIL_> neg( Vec1<N,E1> a ); |
||
Computes negative value in a vector with signed integer values. The implementation behaves as if the following set of overloads is provided:
Ret
|
Vec1
|
---|---|
int8 | int8 |
int16 | int16 |
int32 | int32 |
int64 | int64 |
The return type is a vector expression.
Parameters[edit]
a | - | integer vector |
Return value[edit]
A vector expression evaluating to -a
.
Equivalent operation[edit]
r0 = -a0 ... rN = -aN
See also[edit]
This section is incomplete |