hades.utils
Class LFSRTest
java.lang.Object
hades.utils.LFSRTest
- public class LFSRTest
- extends java.lang.Object
simple implementation and (self-) test of the LFSR implementation
from Numerical Recipes.
Method Summary |
static int |
irbit2()
|
static int |
irbit3()
use (15 1 0) |
static int |
irbit4()
use (7 1 0) |
static void |
main(java.lang.String[] argv)
|
static void |
msg(java.lang.String s)
|
static void |
test(int n_numbers)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IB1
public static final int IB1
- See Also:
- Constant Field Values
IB2
public static final int IB2
- See Also:
- Constant Field Values
IB5
public static final int IB5
- See Also:
- Constant Field Values
IB7
public static final int IB7
- See Also:
- Constant Field Values
IB15
public static final int IB15
- See Also:
- Constant Field Values
IB18
public static final int IB18
- See Also:
- Constant Field Values
MASK_7_1_0
public static final int MASK_7_1_0
- See Also:
- Constant Field Values
MASK_15_1_0
public static final int MASK_15_1_0
- See Also:
- Constant Field Values
MASK_18_5_2_1_0
public static final int MASK_18_5_2_1_0
- See Also:
- Constant Field Values
iseed
public static int iseed
LFSRTest
public LFSRTest()
irbit2
public static final int irbit2()
irbit3
public static final int irbit3()
- use (15 1 0)
irbit4
public static final int irbit4()
- use (7 1 0)
test
public static void test(int n_numbers)
msg
public static void msg(java.lang.String s)
main
public static void main(java.lang.String[] argv)