We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
to do a complex division, say (a+bi)/(c+di) = (a+bi)(c-di)/(cc+dd) = [(ac+bd)+(bc-ad)i]/(cc+dd) so in the code
pres.push_back((pa[0].mul(pb[0]) + pa[1].mul(pb[1])).mul(divisor)); pres.push_back((pa[1].mul(pb[0]) + pa[0].mul(pb[1])).mul(divisor));
second '+' should be '-'
But why does the code still work?
The text was updated successfully, but these errors were encountered:
i meet this problem too
Sorry, something went wrong.
No branches or pull requests
to do a complex division, say
(a+bi)/(c+di) = (a+bi)(c-di)/(cc+dd)
= [(ac+bd)+(bc-ad)i]/(cc+dd)
so in the code
second '+' should be '-'
But why does the code still work?
The text was updated successfully, but these errors were encountered: