kfr icon indicating copy to clipboard operation
kfr copied to clipboard

generators and complex types

Open mipac opened this issue 5 years ago • 0 comments

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

mipac avatar Sep 25 '20 14:09 mipac