(int j)
| 97 | } |
| 98 | |
| 99 | public int extract(int j){ |
| 100 | BigInteger bigj = BigInteger.valueOf(j); |
| 101 | BigInteger numerator = (q.multiply(bigj)).add(r); |
| 102 | BigInteger denominator = (s.multiply(bigj)).add(t); |
| 103 | return ( numerator.divide(denominator) ).intValue(); |
| 104 | } |
| 105 | |
| 106 | public Transformation qrst(int q, int r, int s, int t){ |
| 107 | this.q = BigInteger.valueOf(q); |