Bertrand Benjamin
b003547168
All checks were successful
continuous-integration/drone/push Build is passing
23 lines
538 B
Python
23 lines
538 B
Python
# bopytex_config.py
|
|
from math import ceil
|
|
from mapytex.calculus.random import expression as random_expression
|
|
from mapytex.calculus.random import list as random_list
|
|
from mapytex import stat
|
|
from mapytex import render
|
|
import random
|
|
|
|
random.seed(0) # Controlling the seed allows to make subject reproductible
|
|
|
|
render.set_render("tex")
|
|
|
|
direct_access = {
|
|
"random_expression": random_expression,
|
|
"random_list": random_list,
|
|
"stat": stat,
|
|
"random": random,
|
|
"min": min,
|
|
"max": max,
|
|
"int": int,
|
|
"ceil": ceil,
|
|
}
|