Description Usage Arguments Details Value Examples
QPrimePower QPrimePower creats the Quadratic residues of the prime number.
1 | QPrimePower(cardin)
|
cardin |
integer |
The given input is prime power it retuns the matrix of order cardin. if the input is not prime number then it returns NULL.
matrix of cardin x cardin
1 2 3 4 5 6 7 8 9 10 11 12 13 | QPrimePower(9)
# [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9]
#[1,] 0 1 -1 1 -1 1 -1 1 -1
#[2,] 1 0 1 -1 1 1 -1 -1 -1
#[3,] -1 1 0 -1 1 -1 -1 1 1
#[4,] 1 -1 -1 0 1 -1 1 1 -1
#[5,] -1 1 1 1 0 -1 1 -1 -1
#[6,] 1 1 -1 -1 -1 0 1 -1 1
#[7,] -1 -1 -1 1 1 1 0 -1 1
#[8,] 1 -1 1 1 -1 -1 -1 0 1
#[9,] -1 -1 1 -1 -1 1 1 1 0
QPrimePower(36)
#NULL
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.