|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcetus.analysis.GCD
public class GCD
Class containing all functionalities for a weak greatest common divisor (GCD) test.
| Constructor Summary | |
|---|---|
GCD()
|
|
| Method Summary | |
|---|---|
static int |
compute(int a,
int b)
Computes the GCD of the two given numbers. |
static boolean |
test(int[] a,
int[] b,
int c,
int nest)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GCD()
| Method Detail |
|---|
public static int compute(int a,
int b)
public static boolean test(int[] a,
int[] b,
int c,
int nest)
a - All coefficients in the first expression.b - All coefficients in the second expression.c - The constant part of the equation.nest - The size of a and b.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||