2022-2023/1ST/Evaluations/DM_2023-03-27/bopytex_config.py
2023-03-15 08:58:29 +01:00

20 lines
531 B
Python

# bopytex_config.py
from mapytex.calculus.random import expression as random_expression
from mapytex.calculus.random import list as random_list
from mapytex.calculus.API.tokens.polynomial import Polynomial
from mapytex import render
import random
random.seed(0) # Controlling the seed allows to make subject reproductible
render.set_render("tex")
direct_access = {
"Polynomial": Polynomial,
"random_expression": random_expression,
"random_list": random_list,
"random": random,
"min": min,
"max": max,
}