biogeme.expressions.normalcdf module

Arithmetic expressions accepted by Biogeme: normal cdf

author:

Michel Bierlaire

date:

Sat Sep 9 15:51:53 2023

class biogeme.expressions.normalcdf.NormalCdf(child)[source]

Bases: UnaryOperator

Cumulative Distribution Function of a normal random variable

Parameters:

child (ExpressionOrNumeric)

deep_flat_copy()[source]

Provides a copy of the expression. It is deep in the sense that it generates copies of the children. It is flat in the sense that any MultipleExpression is transformed into the currently selected expression. The flat part is irrelevant for this expression.

Return type:

NormalCdf

get_value()[source]

Evaluates the value of the expression

Returns:

value of the expression

Return type:

float

recursive_construct_jax_function(numerically_safe)[source]
Generates a function to be used by biogeme_jax. Must be overloaded

by each expression

Return type:

JaxFunctionType

Returns:

the function takes two parameters: the parameters, and one row of the database.

Parameters:

numerically_safe (book)