Description Usage Arguments Details Value Examples
GFPrimeAdd creates the addition Table for GF(p), where p is a prime number
1 | GFPrimeAdd(p)
|
p |
integer |
If the elements of GF(p) are 0,1,..,p-1 then the (i,j)th element of matrix returned is addition of (i-1)th and (j-1)th elements. The additions are subjected to modulo p.
Addition Table of GF(p) in the form of matrix of order p x p.
1 2 3 4 5 6 7 | GFPrimeAdd(5)
#[,1] [,2] [,3] [,4] [,5]
#[1,] 0 1 2 3 4
#[2,] 1 2 3 4 0
#[3,] 2 3 4 0 1
#[4,] 3 4 0 1 2
#[5,] 4 0 1 2 3
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.