class IntArray
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int[] |
m_ints |
Constructor and Description |
---|
IntArray(java.math.BigInteger bigInt) |
IntArray(java.math.BigInteger bigInt,
int minIntLen) |
IntArray(int intLen) |
IntArray(int[] ints) |
Modifier and Type | Method and Description |
---|---|
void |
addShifted(IntArray other,
int shift) |
int |
bitLength() |
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object o) |
void |
flipBit(int n) |
int |
getLength() |
int |
getUsedLength() |
int |
hashCode() |
boolean |
isZero() |
IntArray |
multiply(IntArray other,
int m) |
void |
reduce(int m,
int[] redPol) |
private int[] |
resizedInts(int newLen) |
void |
setBit(int n) |
void |
shiftLeft() |
IntArray |
shiftLeft(int n) |
IntArray |
square(int m) |
boolean |
testBit(int n) |
java.math.BigInteger |
toBigInteger() |
java.lang.String |
toString() |
public IntArray(int intLen)
public IntArray(int[] ints)
public IntArray(java.math.BigInteger bigInt)
public IntArray(java.math.BigInteger bigInt, int minIntLen)
public boolean isZero()
public int getUsedLength()
public int bitLength()
private int[] resizedInts(int newLen)
public java.math.BigInteger toBigInteger()
public void shiftLeft()
public IntArray shiftLeft(int n)
public void addShifted(IntArray other, int shift)
public int getLength()
public boolean testBit(int n)
public void flipBit(int n)
public void setBit(int n)
public void reduce(int m, int[] redPol)
public IntArray square(int m)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.