|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--de.flexiprovider.common.util.FlexiBigIntUtils
| Method Summary | |
static boolean |
equals(FlexiBigInt[] a,
FlexiBigInt[] b)
Checks if two FlexiBigInt arrays contain the same entries |
static void |
fill(FlexiBigInt[] array,
FlexiBigInt value)
Fill the given FlexiBigInt array with the given value. |
static FlexiBigInt[] |
subArray(FlexiBigInt[] input,
int start,
int end)
Generates a subarray of a given FlexiBigInt array. |
static int[] |
toIntArray(FlexiBigInt[] input)
Converts a FlexiBigInt array into an integer array |
static int[] |
toIntArrayModQ(int q,
FlexiBigInt[] input)
Converts a FlexiBigInt array into an integer array, reducing all FlexiBigInts mod q. |
static byte[] |
toMinimalByteArray(FlexiBigInt value)
Return the value of big as a byte array. |
| Methods inherited from class java.lang.Object |
|
| Method Detail |
public static boolean equals(FlexiBigInt[] a,
FlexiBigInt[] b)
a - first FlexiBigInt arrayb - second FlexiBigInt array
public static void fill(FlexiBigInt[] array,
FlexiBigInt value)
array - the arrayvalue - the value
public static FlexiBigInt[] subArray(FlexiBigInt[] input,
int start,
int end)
input - -
the input FlexiBigInt arraystart - -
the start indexend - -
the end indexpublic static int[] toIntArray(FlexiBigInt[] input)
input - -
the FlexiBigInt array
public static int[] toIntArrayModQ(int q,
FlexiBigInt[] input)
q - -
the modulusinput - -
the FlexiBigInt arraypublic static byte[] toMinimalByteArray(FlexiBigInt value)
value - the FlexiBigInt value to be converted to a byte
array
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||