@Test void dblsTest() { JacobianPoint a = new JacobianPoint( new FP2Immutable(new BIG(1), new BIG(2)), new FP2Immutable(new BIG(3), new BIG(4)), new FP2Immutable(new BIG(5), new BIG(6))); assertEquals(a, a.dbls(0)); assertEquals(a.dbl().dbl().dbl(), a.dbls(3)); }
JacobianPoint dbls(int n) { JacobianPoint result = new JacobianPoint(this); while (n-- > 0) { result = result.dbl(); } return result; }
JacobianPoint { JacobianPoint dbls(int n) { JacobianPoint result = new JacobianPoint(this); while (n-- > 0) { result = result.dbl(); } return result; } }
JacobianPoint { JacobianPoint dbls(int n) { JacobianPoint result = new JacobianPoint(this); while (n-- > 0) { result = result.dbl(); } return result; } JacobianPoint();   JacobianPoint(JacobianPoint p);   JacobianPoint(FP2Immutable x, FP2Immutable y, FP2Immutable z);   JacobianPoint(ECP2 p); }
JacobianPoint { JacobianPoint dbls(int n) { JacobianPoint result = new JacobianPoint(this); while (n-- > 0) { result = result.dbl(); } return result; } JacobianPoint();   JacobianPoint(JacobianPoint p);   JacobianPoint(FP2Immutable x, FP2Immutable y, FP2Immutable z);   JacobianPoint(ECP2 p); @Override String toString(); @Override // Consider two Jacobian points to be equal iff their affine representations are equal. boolean equals(Object obj); @Override int hashCode(); }
JacobianPoint { JacobianPoint dbls(int n) { JacobianPoint result = new JacobianPoint(this); while (n-- > 0) { result = result.dbl(); } return result; } JacobianPoint();   JacobianPoint(JacobianPoint p);   JacobianPoint(FP2Immutable x, FP2Immutable y, FP2Immutable z);   JacobianPoint(ECP2 p); @Override String toString(); @Override // Consider two Jacobian points to be equal iff their affine representations are equal. boolean equals(Object obj); @Override int hashCode();  }