Generic class for an operator. More...
Public Member Functions | |
def | getOpIndex |
Static Public Attributes | |
string | num = 'numeric' |
string | var = 'variable' |
string | userexpr = 'UserExpression' |
string | rv = 'randomVariable' |
string | param = 'beta' |
string | normal = 'N(0,1)' |
string | uniform = 'U[0,1]' |
string | uniformSym = 'U[-1,1]' |
string | bioNormalCdf = 'bioNormalCdf' |
string | mhOp = 'MH' |
string | bayesMeanOp = 'bioBayesNormalDraw' |
string | defineOp = 'define' |
int | MIN_ZEROOP_INDEX = 0 |
int | MAX_ZEROOP_INDEX = 19 |
int | MIN_UNOP_INDEX = 20 |
int | MAX_UNOP_INDEX = 39 |
int | MIN_BINOP_INDEX = 40 |
int | MAX_BINOP_INDEX = 69 |
int | MIN_ITERATOROP_INDEX = 70 |
int | MAX_ITERATOROP_INDEX = 89 |
int | UNDEF_OP = 1 |
dictionary | operatorIndexDic |
Generic class for an operator.
Manages the IDs of the various operators.
def bio_expression::Operator::getOpIndex | ( | self, | |
op | |||
) |
string bio_expression::Operator::bayesMeanOp = 'bioBayesNormalDraw' [static] |
string bio_expression::Operator::bioNormalCdf = 'bioNormalCdf' [static] |
string bio_expression::Operator::defineOp = 'define' [static] |
int bio_expression::Operator::MAX_BINOP_INDEX = 69 [static] |
int bio_expression::Operator::MAX_ITERATOROP_INDEX = 89 [static] |
int bio_expression::Operator::MAX_UNOP_INDEX = 39 [static] |
int bio_expression::Operator::MAX_ZEROOP_INDEX = 19 [static] |
string bio_expression::Operator::mhOp = 'MH' [static] |
int bio_expression::Operator::MIN_BINOP_INDEX = 40 [static] |
int bio_expression::Operator::MIN_ITERATOROP_INDEX = 70 [static] |
int bio_expression::Operator::MIN_UNOP_INDEX = 20 [static] |
int bio_expression::Operator::MIN_ZEROOP_INDEX = 0 [static] |
string bio_expression::Operator::normal = 'N(0,1)' [static] |
string bio_expression::Operator::num = 'numeric' [static] |
dictionary bio_expression::Operator::operatorIndexDic [static] |
{num:0, \ var:1, \ param:2, \ normal:3, \ uniform:4, \ rv:5, \ uniformSym:6, \ userexpr:7, \ absOp:20, negOp:21, \ exp:30, log:31, bioNormalCdf: 33, \ add:40, sub:41, mul:42, div:43, power:44, \ andOp:45, orOp:46, equal:47, notEqual:48, \ greater:49, greaterEq:50, less:51, lessEq:52, \ minOp:53, maxOp:54, mod:55, \ sumOp:70, prodOp:71, \ elemOp:90, enumOp:91, integralOp:92, derivativeOp:93, \ defineOp:94, logitOp:95, bioNormalPdf:96, multSumOp:97, multProdOp:98, mhOp:99, bayesMeanOp:100 }
string bio_expression::Operator::param = 'beta' [static] |
string bio_expression::Operator::rv = 'randomVariable' [static] |
int bio_expression::Operator::UNDEF_OP = 1 [static] |
string bio_expression::Operator::uniform = 'U[0,1]' [static] |
string bio_expression::Operator::uniformSym = 'U[-1,1]' [static] |
string bio_expression::Operator::userexpr = 'UserExpression' [static] |
string bio_expression::Operator::var = 'variable' [static] |