FK20 CUDA
test_fft Namespace Reference

Functions

int pointToInt (FK20Py.blst.P1 i)
 
str pointToHexString (FK20Py.blst.P1 i)
 
str stringfyFFT_Trace (fft)
 
def genRandonPoly ()
 
def generateTest (list polynomial, int setup)
 
def generateAllTest (nTest=1)
 
def printExpectedOutput (test, skip=True)
 
def eprint (*args, **kwargs)
 

Variables

int MAX_DEGREE_POLY = FK20Py.MODULUS-1
 
int N_POINTS = 512
 
int N_TESTS = 2
 
def test = generateAllTest(N_TESTS)
 

Function Documentation

◆ eprint()

def test_fft.eprint ( args,
**  kwargs 
)

Definition at line 70 of file test_fft.py.

◆ generateAllTest()

def test_fft.generateAllTest (   nTest = 1)

Definition at line 41 of file test_fft.py.

Here is the call graph for this function:

◆ generateTest()

def test_fft.generateTest ( list  polynomial,
int  setup 
)
generates a test case for the fft part of the algorithm

Definition at line 31 of file test_fft.py.

Here is the caller graph for this function:

◆ genRandonPoly()

def test_fft.genRandonPoly ( )

Definition at line 28 of file test_fft.py.

Here is the caller graph for this function:

◆ pointToHexString()

str test_fft.pointToHexString ( FK20Py.blst.P1  i)

Definition at line 17 of file test_fft.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pointToInt()

int test_fft.pointToInt ( FK20Py.blst.P1  i)

Definition at line 11 of file test_fft.py.

Here is the caller graph for this function:

◆ printExpectedOutput()

def test_fft.printExpectedOutput (   test,
  skip = True 
)

Definition at line 63 of file test_fft.py.

◆ stringfyFFT_Trace()

str test_fft.stringfyFFT_Trace (   fft)

Definition at line 25 of file test_fft.py.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ MAX_DEGREE_POLY

int test_fft.MAX_DEGREE_POLY = FK20Py.MODULUS-1

Definition at line 21 of file test_fft.py.

◆ N_POINTS

int test_fft.N_POINTS = 512

Definition at line 22 of file test_fft.py.

◆ N_TESTS

int test_fft.N_TESTS = 2

Definition at line 23 of file test_fft.py.

◆ test

def test_fft.test = generateAllTest(N_TESTS)

Definition at line 76 of file test_fft.py.