示例#1
0
#!/bin/python3
# ==================================================
#   Import
import math
from rmin_py import run

# ==================================================
nlst = [28]
k = 1 / 2
# ==================================================
for n in nlst:
    run(2**n, (2**n)**k, 10)
#!/bin/python3
# ==================================================
#   Import
import math
from rmin_py import run

# ==================================================
#   Theo 5
nlst = [22]

# ==================================================
for n in nlst:
    k = n / math.log(n, 2)
    k0 = math.floor(k)
    k1 = math.ceil(k)

    run(2**n, int(k1))


#!/bin/python3
# ==================================================
#   Import
import math
from rmin_py import run

# ==================================================
#   Theo 5
nlst = [24]

# ==================================================
for n in nlst:
    k = n / math.log(n, 2)
    k0 = math.floor(k)
    k1 = math.ceil(k)

    run(2**n, int(k0), 10)
    run(2**n, int(k1), 10)

#!/bin/python3
# ==================================================
#   Import
import math
from rmin_py import run

# ==================================================
nlst = [18, 20]
k = 1 / 2
# ==================================================
for n in nlst:
    run(2**n, (2**n)**k)
示例#5
0
#!/bin/python3
# ==================================================
#   Import
import math
from rmin_py import run

# ==================================================
#   Theo 5
nlst = [22]

# ==================================================
for n in nlst:
    k = n / math.log(n, 2)
    k0 = math.floor(k)
    k1 = math.ceil(k)

    run(2**n, int(k0), 50)
    run(2**n, int(k1), 50)