20 lines
531 B
Python
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,
|
|
}
|