Let us walk on the 3-isogeny graph
Loading...
Searching...
No Matches
analyze_bench Namespace Reference

Functions

 mean (d)
 deviation (d)

Variables

 keys = set()
dict validate = {}
dict action = {}
dict torsion = {}
dict mults = {}
dict sqs = {}
dict adds = {}
int num = 0
 line = line.split()
dict target = validate
 mul = int(line[4])
 sq = int(line[6])
 addsub = int(line[8])
float Mcyc = 0.000001*int(line[10])
 mulsq = mul+sq
float combo185 = mul+0.8*sq+0.05*addsub
str output = '%s %s' % (k,targetname)
dict x = target[k,name]
str format = ' %s %.0f+-%.0f'

Function Documentation

◆ deviation()

deviation ( d)

Definition at line 10 of file analyze_bench.py.

10def deviation(d):
11 m = mean(d)
12 return math.sqrt(sum((x-m)**2 for x in d)*1.0/len(d))
13

References mean().

Here is the call graph for this function:

◆ mean()

mean ( d)

Definition at line 7 of file analyze_bench.py.

7def mean(d):
8 return sum(d)*1.0/len(d)
9

Referenced by deviation().

Here is the caller graph for this function:

Variable Documentation

◆ action

dict action = {}

Definition at line 16 of file analyze_bench.py.

◆ adds

dict adds = {}

Definition at line 20 of file analyze_bench.py.

◆ addsub

addsub = int(line[8])

Definition at line 48 of file analyze_bench.py.

◆ combo185

float combo185 = mul+0.8*sq+0.05*addsub

Definition at line 51 of file analyze_bench.py.

◆ format

str format = ' %s %.0f+-%.0f'

Definition at line 84 of file analyze_bench.py.

◆ keys

keys = set()

Definition at line 14 of file analyze_bench.py.

◆ line

line = line.split()

Definition at line 24 of file analyze_bench.py.

◆ Mcyc

float Mcyc = 0.000001*int(line[10])

Definition at line 49 of file analyze_bench.py.

◆ mul

mul = int(line[4])

Definition at line 46 of file analyze_bench.py.

◆ mulsq

mulsq = mul+sq

Definition at line 50 of file analyze_bench.py.

◆ mults

dict mults = {}

Definition at line 18 of file analyze_bench.py.

◆ num

int num = 0

Definition at line 21 of file analyze_bench.py.

◆ output

str output = '%s %s' % (k,targetname)

Definition at line 80 of file analyze_bench.py.

◆ sq

sq = int(line[6])

Definition at line 47 of file analyze_bench.py.

◆ sqs

dict sqs = {}

Definition at line 19 of file analyze_bench.py.

◆ target

dict target = validate

Definition at line 32 of file analyze_bench.py.

◆ torsion

dict torsion = {}

Definition at line 17 of file analyze_bench.py.

◆ validate

dict validate = {}

Definition at line 15 of file analyze_bench.py.

◆ x

dict x = target[k,name]

Definition at line 83 of file analyze_bench.py.