Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static Fraction ComplexNumAbs(ComplexNum a) {
- ComplexNum res = new ComplexNum();
- res.r = a.r * a.r + a.i * a.i;
- return res.r;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement