clearCofactor method

G2NativeProjective clearCofactor()

Clears the G2 cofactor.

Implementation

G2NativeProjective clearCofactor() {
  final t1 = mulByX();
  final t2 = psi();
  return double().psi2() + (t1 + t2).mulByX() - t1 - t2 - this;
}