I'm a bit confused about your implementation of the ComplEx function (code) in which you return ac+bd as the real part of (a+bi)*(c+di) (the product of score and tail). Should this actually be ac-bd as you've done in the code above?
Solved. According to the ComplEX function, the tail vector should be conjugated (i.e. calculating (a+bi)*(c-di) with real part ac+bd), the code is correct to this regard.
Thanks @apoorvumang for the amazing repo!
I'm a bit confused about your implementation of the ComplEx function (code) in which you return
ac+bd
as the real part of(a+bi)*(c+di)
(the product of score and tail). Should this actually beac-bd
as you've done in the code above?Any comments will be appreciated!