| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final byte[] | |
| private static final short[] | |
| private static final int[] | |
| private static final int[] | |
| private static final int[] | |
| private static final long[] | |
| private long[] | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private static void | |
| private static void | |
| public LongArray | |
| private void | |
| public void | |
| private static long | |
| private static long | |
| private static int | |
| public Object | |
| pack-priv void | |
| public int | |
| private int | |
| private static void | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| private static void | |
| private static void | |
| private static void | |
| public int | |
| public int | |
| public int | |
| public int | |
| private static void | |
| private static long | |
| private static void | |
| private static long | |
| private static void | |
| private static long | |
| private static long | |
| private static long | |
| private static long | |
| private static void | |
| private static long | |
| private static void | |
| private static long | |
| public boolean | |
| public boolean | |
| public LongArray | |
| public LongArray | |
| public LongArray | |
| public LongArray | |
| public LongArray | |
| public LongArray | |
| public LongArray | |
| public LongArray | |
| private static void | |
| public void | |
| private static void | |
| private static void | |
| private static int | |
| private static LongArray | |
| private static void | |
| private static void | |
| private static void | |
| private long[] | |
| private static long | |
| private static long | |
| public LongArray | |
| private static void | |
| private static boolean | |
| public boolean | |
| public BigInteger | |
| public String |
| bitLengths | back to summary |
|---|---|
| pack-priv static final byte[] bitLengths | |
| INTERLEAVE2_TABLE | back to summary |
|---|---|
| private static final short[] INTERLEAVE2_TABLE | |
| INTERLEAVE3_TABLE | back to summary |
|---|---|
| private static final int[] INTERLEAVE3_TABLE | |
| INTERLEAVE4_TABLE | back to summary |
|---|---|
| private static final int[] INTERLEAVE4_TABLE | |
| INTERLEAVE5_TABLE | back to summary |
|---|---|
| private static final int[] INTERLEAVE5_TABLE | |
| INTERLEAVE7_TABLE | back to summary |
|---|---|
| private static final long[] INTERLEAVE7_TABLE | |
| m_ints | back to summary |
|---|---|
| private long[] m_ints | |
| ZEROES | back to summary |
|---|---|
| private static final String ZEROES | |
| LongArray | back to summary |
|---|---|
| public LongArray(int intLen) | |
| LongArray | back to summary |
|---|---|
| public LongArray(long[] ints) | |
| LongArray | back to summary |
|---|---|
| public LongArray(long[] ints, int off, int len) | |
| LongArray | back to summary |
|---|---|
| public LongArray(BigInteger bigInt) | |
| add | back to summary |
|---|---|
| private static void add(long[] x, int xOff, long[] y, int yOff, int count) | |
| add | back to summary |
|---|---|
| private static void add(long[] x, int xOff, long[] y, int yOff, long[] z, int zOff, int count) | |
| addBoth | back to summary |
|---|---|
| private static void addBoth(long[] x, int xOff, long[] y1, int y1Off, long[] y2, int y2Off, int count) | |
| addOne | back to summary |
|---|---|
| public LongArray addOne() | |
| addShiftedByBitsSafe | back to summary |
|---|---|
| private void addShiftedByBitsSafe(LongArray other, int otherDegree, int bits) | |
| addShiftedByWords | back to summary |
|---|---|
| public void addShiftedByWords(LongArray other, int words) | |
| addShiftedDown | back to summary |
|---|---|
| private static long addShiftedDown(long[] x, int xOff, long[] y, int yOff, int count, int shift) | |
| addShiftedUp | back to summary |
|---|---|
| private static long addShiftedUp(long[] x, int xOff, long[] y, int yOff, int count, int shift) | |
| bitLength | back to summary |
|---|---|
| private static int bitLength(long w) | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| copyTo | back to summary |
|---|---|
| pack-priv void copyTo(long[] z, int zOff) | |
| degree | back to summary |
|---|---|
| public int degree() | |
| degreeFrom | back to summary |
|---|---|
| private int degreeFrom(int limit) | |
| distribute | back to summary |
|---|---|
| private static void distribute(long[] x, int src, int dst1, int dst2, int count) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| flipBit | back to summary |
|---|---|
| private static void flipBit(long[] buf, int off, int n) | |
| flipVector | back to summary |
|---|---|
| private static void flipVector(long[] x, int xOff, long[] y, int yOff, int yLen, int bits) | |
| flipWord | back to summary |
|---|---|
| private static void flipWord(long[] buf, int off, int bit, long word) | |
| getLength | back to summary |
|---|---|
| public int getLength() | |
| getUsedLength | back to summary |
|---|---|
| public int getUsedLength() | |
| getUsedLengthFrom | back to summary |
|---|---|
| public int getUsedLengthFrom(int from) | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| interleave | back to summary |
|---|---|
| private static void interleave(long[] x, int xOff, long[] z, int zOff, int count, int width) | |
| interleave2_32to64 | back to summary |
|---|---|
| private static long interleave2_32to64(int x) | |
| interleave2_n | back to summary |
|---|---|
| private static void interleave2_n(long[] x, int xOff, long[] z, int zOff, int count, int rounds) | |
| interleave2_n | back to summary |
|---|---|
| private static long interleave2_n(long x, int rounds) | |
| interleave3 | back to summary |
|---|---|
| private static void interleave3(long[] x, int xOff, long[] z, int zOff, int count) | |
| interleave3 | back to summary |
|---|---|
| private static long interleave3(long x) | |
| interleave3_13to65 | back to summary |
|---|---|
| private static long interleave3_13to65(int x) | |
| interleave3_21to63 | back to summary |
|---|---|
| private static long interleave3_21to63(int x) | |
| interleave4_16to64 | back to summary |
|---|---|
| private static long interleave4_16to64(int x) | |
| interleave5 | back to summary |
|---|---|
| private static void interleave5(long[] x, int xOff, long[] z, int zOff, int count) | |
| interleave5 | back to summary |
|---|---|
| private static long interleave5(long x) | |
| interleave7 | back to summary |
|---|---|
| private static void interleave7(long[] x, int xOff, long[] z, int zOff, int count) | |
| interleave7 | back to summary |
|---|---|
| private static long interleave7(long x) | |
| isOne | back to summary |
|---|---|
| public boolean isOne() | |
| isZero | back to summary |
|---|---|
| public boolean isZero() | |
| modInverse | back to summary |
|---|---|
| public LongArray modInverse(int m, int[] ks) | |
| modMultiply | back to summary |
|---|---|
| public LongArray modMultiply(LongArray other, int m, int[] ks) | |
| modMultiplyAlt | back to summary |
|---|---|
| public LongArray modMultiplyAlt(LongArray other, int m, int[] ks) | |
| modMultiplyLD | back to summary |
|---|---|
| public LongArray modMultiplyLD(LongArray other, int m, int[] ks) | |
| modReduce | back to summary |
|---|---|
| public LongArray modReduce(int m, int[] ks) | |
| modSquare | back to summary |
|---|---|
| public LongArray modSquare(int m, int[] ks) | |
| modSquareN | back to summary |
|---|---|
| public LongArray modSquareN(int n, int m, int[] ks) | |
| multiply | back to summary |
|---|---|
| public LongArray multiply(LongArray other, int m, int[] ks) | |
| multiplyWord | back to summary |
|---|---|
| private static void multiplyWord(long a, long[] b, int bLen, long[] c, int cOff) | |
| reduce | back to summary |
|---|---|
| public void reduce(int m, int[] ks) | |
| reduceBit | back to summary |
|---|---|
| private static void reduceBit(long[] buf, int off, int bit, int m, int[] ks) | |
| reduceBitWise | back to summary |
|---|---|
| private static void reduceBitWise(long[] buf, int off, int bitlength, int m, int[] ks) | |
| reduceInPlace | back to summary |
|---|---|
| private static int reduceInPlace(long[] buf, int off, int len, int m, int[] ks) | |
| reduceResult | back to summary |
|---|---|
| private static LongArray reduceResult(long[] buf, int off, int len, int m, int[] ks) | |
| reduceVectorWise | back to summary |
|---|---|
| private static void reduceVectorWise(long[] buf, int off, int len, int words, int m, int[] ks) | |
| reduceWord | back to summary |
|---|---|
| private static void reduceWord(long[] buf, int off, int bit, long word, int m, int[] ks) | |
| reduceWordWise | back to summary |
|---|---|
| private static void reduceWordWise(long[] buf, int off, int len, int toBit, int m, int[] ks) | |
| resizedInts | back to summary |
|---|---|
| private long[] resizedInts(int newLen) | |
| shiftUp | back to summary |
|---|---|
| private static long shiftUp(long[] x, int xOff, int count, int shift) | |
| shiftUp | back to summary |
|---|---|
| private static long shiftUp(long[] x, int xOff, long[] z, int zOff, int count, int shift) | |
| square | back to summary |
|---|---|
| public LongArray square(int m, int[] ks) | |
| squareInPlace | back to summary |
|---|---|
| private static void squareInPlace(long[] x, int xLen, int m, int[] ks) | |
| testBit | back to summary |
|---|---|
| private static boolean testBit(long[] buf, int off, int n) | |
| testBitZero | back to summary |
|---|---|
| public boolean testBitZero() | |
| toBigInteger | back to summary |
|---|---|
| public BigInteger toBigInteger() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |