|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Collatz
public class Collatz
Berechnet Collatz-Funktion, d.h. Anzahl der Iterationen der Funktion g: N -> N bis die Eingabe auf 1 transformiert ist mit g(x) = x/2 falls x gerade, 3*x+1 sonst
Constructor Summary | |
---|---|
Collatz()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] argv)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Collatz()
Method Detail |
---|
public static void main(java.lang.String[] argv)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |