biogeme.expressions.expm1 module¶
Arithmetic expressions accepted by Biogeme: expm1
Michel Bierlaire Mon Nov 03 2025, 16:44:14
- class biogeme.expressions.expm1.expm1(child)[source]¶
Bases:
UnaryOperatorexponential minus one expression, i.e. eˣ - 1, implemented in a numerically stable way.
- Parameters:
child (ExpressionOrNumeric)
- recursive_construct_jax_function(numerically_safe)[source]¶
Generates a JAX-compatible function for Biogeme-JAX. :rtype:
Callable[[Array,Array,Array,Array],array] :return: callable(parameters, one_row, the_draws, the_random_variables)- Parameters:
numerically_safe (bool)
- Return type:
Callable[[Array, Array, Array, Array], array]
- recursive_construct_pymc_model_builder()[source]¶
Generates recursively a function for PyMC representation. :rtype:
PymcModelBuilderType:return: the expression in TensorVariable format (PyTensor)- Return type: