SchoenhageStrassen works on the ring ZF[2^{2^n}+1] having elements 0,...,2^{2^n}. We represent its elements as records with a number num and the information about the ring they belong to (the algorithm makes recursive calls to smaller rings ZF[2^{2^k}+1] so to avoid confusion about the rings we are currently working with, the numbers carry the information about the ring they belong to.
Record Field | Description |
|
|
Full Usage:
n
Field type: int
|
|
|
|
Instance member | Description |
|
|
|
|
Full Usage:
this.ToBinary
Returns: string
|
convert the number to its binary representation using 2^n bits where bytes are separated by : and the more significant ones are printed on the left hand side
|