Skip to main content

Table 2 Operators and functions which are supported by mathematical expressions for describing the number of tokens (or concentrations) on constant places or reaction rate constants

From: MONALISA for stochastic simulations of Petri net models of biochemical systems

Operators

 

Addition

2+2

Subtraction

2−2

Multiplication

2·2

Division

2/2

Exponentiation

2 ˆ 2

Sign operators

+2−(−2)

Modulo

2 % 2

Functions (use as “func(x)”)

 

abs

absolute value

acos

arc cosine

asin

arc sine

atan

arc tangent

cbrt

cubic root

ceil

nearest upper integer

cos

cosine

cosh

hyperbolic cosine

exp

Euler’s number raised to the power (eˆx)

floor

nearest lower integer

log

natural logarithm (base e)

sin

sine

sinh

hyperbolic sine

sqrt

square root

tan

tangent

tanh

hyperbolic tangent

div(x,y)

integer division, e.g., div(28,24) returns 1