public class Factorizer
extends java.lang.Object
| Constructor and Description |
|---|
Factorizer(boolean information)
Constructor for Factorizer sets the verbose flag, to determine whether comments are written to System.out.
|
| Modifier and Type | Method and Description |
|---|---|
int[] |
factorize(int n)
Method factorize returns an integer vector containing the prime factors of the integer argument n.
|
public Factorizer(boolean information)
public int[] factorize(int n)
n - The number to be factored