Hi,
I have an oct module where I have a std::complex<float> as a result of some c++ function.
What is the best way to return it as an octave_value to octave? I tried to create a ComplexNDArray but I could not figure out how to do it properly.
My result variable basically an array of complex numbers, so like:
[24.000000 + 0.000000i, 0.809017 + -5.567582i]
So if needed I can create a different type of variable than complex<float> from the oct module.
Thank you,
Zoltan