Class TwoCmres.Cmres
java.lang.Object
org.apache.commons.rng.core.source64.TwoCmres.Cmres
- Enclosing class:
TwoCmres
-
Field Details
-
SEP
-
HEX_FORMAT
-
start
private final int startCycle start. -
multiply
private final long multiplyMultiplier. -
rotate
private final int rotateRotation.
-
-
Constructor Details
-
Cmres
Cmres(long multiply, int rotate, int start) - Parameters:
multiply- Multiplier.rotate- Positive number. Must be in[0, 64].start- Cycle start.
-
-
Method Details
-
toString
-
getMultiply
public long getMultiply()- Returns:
- the multiplier.
-
getStart
public int getStart()- Returns:
- the cycle start.
-
transform
long transform(long state) - Parameters:
state- Current state.- Returns:
- the new state.
-