Class JacobiSymbol
java.lang.Object
dk.jonaslindstrom.ruffini.common.algorithms.JacobiSymbol
- All Implemented Interfaces:
java.util.function.IntBinaryOperator
Compute the Jacobi symbol of a number a modulo an odd number n.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JacobiSymbol
public JacobiSymbol()
-
-
Method Details
-
applyAsInt
public int applyAsInt(int k, int n) - Specified by:
applyAsInt
in interfacejava.util.function.IntBinaryOperator
-