Computes the the conjugate value.
Returns the conjugate of its argument. For real inputs the call reduces to identity.
#include <eve/module/core.hpp>
#include <eve/wide.hpp>
#include <iostream>
int main()
{
wide_ft pf = {-1.0f, 2.0f, -3.0f, -32768.0f};
std::cout << "---- simd" << '\n'
<< "<- pf = " << pf << '\n'
<<
"-> conj(pf) = " <<
eve::conj(pf) <<
'\n';
float xf = -32768.0f;
std::cout << "---- scalar" << '\n'
<< "<- xf = " << xf << '\n'
<<
"-> conj(xf) = " <<
eve::conj(xf) <<
'\n';
return 0;
}
Wrapper for SIMD registers.
Definition: wide.hpp:65