kfr
kfr copied to clipboard
generators and complex types
when using
auto step = kfr::complex(1.f, -1.f);
auto gen = kfr::gen_linear( 0.f, step );
kfr::univector< kfr::complex< float > > v( 4 );
v = gen;
I've got the error:
error: no matching function for call to ‘add(kfr::complex<float>, const kfr::sse2::vec<kfr::complex<float>, 4>&)’
KFR_VEC_OPERATOR2(+, +=, add)
is it possible to use generators with complex step?
regards