Biogeme: Python Library  2.5
Public Member Functions | Public Attributes | List of all members
bio_expression.Expression Class Reference

Interface for mathematical expressions. More...

Inheritance diagram for bio_expression.Expression:
bio_expression.abs bio_expression.Beta bio_expression.BinOp bio_expression.bioBayesNormalDraw bio_expression.bioDraws bio_expression.bioLogit bio_expression.bioLogLogit bio_expression.bioMultSum bio_expression.bioNormalCdf bio_expression.bioNormalDraws bio_expression.bioNormalPdf bio_expression.bioRecycleDraws bio_expression.bioUniformDraws bio_expression.bioUniformSymmetricDraws bio_expression.DefineDraws bio_expression.DefineVariable bio_expression.Derive bio_expression.Elem bio_expression.Enumerate bio_expression.exp bio_expression.Integrate bio_expression.log bio_expression.max bio_expression.MH bio_expression.min bio_expression.MonteCarlo bio_expression.MonteCarloControlVariate bio_expression.Numeric bio_expression.Prod bio_expression.RandomVariable bio_expression.Sum bio_expression.UnOp bio_expression.Variable

Public Member Functions

def __init__ (self)
 Constructor.
 
def getExpression (self)
 
def getID (self)
 
def __str__ (self)
 
def __neg__ (self)
 
def __add__ (self, expression)
 
def __radd__ (self, expression)
 
def __sub__ (self, expression)
 
def __rsub__ (self, expression)
 
def __mul__ (self, expression)
 
def __rmul__ (self, expression)
 
def __div__ (self, expression)
 
def __rdiv__ (self, expression)
 
def __truediv__ (self, expression)
 Support for Python version 3.x. More...
 
def __rtruediv__ (self, expression)
 Support for Python version 3.x. More...
 
def __mod__ (self, expression)
 
def __pow__ (self, expression)
 
def __rpow__ (self, expression)
 
def __and__ (self, expression)
 
def __or__ (self, expression)
 
def __eq__ (self, expression)
 
def __ne__ (self, expression)
 
def __le__ (self, expression)
 
def __ge__ (self, expression)
 
def __lt__ (self, expression)
 
def __gt__ (self, expression)
 

Public Attributes

 operatorIndex
 

Detailed Description

Interface for mathematical expressions.

Definition at line 95 of file bio_expression.py.

Member Function Documentation

def bio_expression.Expression.__str__ (   self)
Returns
Returns a string with the expression

Definition at line 110 of file bio_expression.py.

def bio_expression.Expression.getExpression (   self)
Returns
Return the string representation of the current expression

Definition at line 102 of file bio_expression.py.

def bio_expression.Expression.getID (   self)
Returns
Return an ID for this expression, can be "xx-no ID" if the sublcass doest not override the function

Definition at line 106 of file bio_expression.py.


The documentation for this class was generated from the following file:
Copyright 2016 Michel Bierlaire