Advertisement
maxrusmos

Untitled

Mar 7th, 2020
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. public static Fraction ComplexNumAbs(ComplexNum a) {
  2. ComplexNum res = new ComplexNum();
  3. res.r = a.r * a.r + a.i * a.i;
  4. return res.r;
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement