2022-2023/1ST/Evaluations/DM_2023-03-27/bopytex_config.py

20 lines
531 B
Python
Raw Normal View History

2023-03-15 07:58:29 +00:00
# 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,
}