Menu

#33 Add operator list to the antimony docs

None
closed-fixed
None
5
2015-10-09
2015-09-25
No

Add a list of operators and descriptions to the Antimony docs. No one wil lrealize they have to dig thorugh the SBML docs to get the operators. Even I can always find them in the SBML docs so they should be avaialble with teh Antimony docs.

Discussion

  • Lucian Smith

    Lucian Smith - 2015-10-09
    • status: open --> closed-fixed
    • Group: -->
     
  • Lucian Smith

    Lucian Smith - 2015-10-09

    It turns out the list is already in the Antimony docs:


    In addition, there are several built-in functions defined in Antimony. All of the functions present in the MathML subset used in SBML Level 3 are likewise defined here, and include:

    abs, and, arccos, arccosh, arccot, arccoth, arccsc, arccsch, arcsec, arcsech, arcsin, arcsinh, arctan, arctanh, ceiling, cos, cosh, cot, coth, csc, csch, divide, eq, exp, factorial, floor, geq, gt, leq, ln, log, lt, minus, neq, not, or, piecewise, plus, power, root, sec, sech, sin, sinh, tan, tanh, times, and xor. In addition, the constants true, false, notanumber, pi, avogadro, infinity, and exponentiale are all allowed.
    As of Antimony v2.6, the following distributions are also allowed, and will be added to the translated SBML file if used: normal(mean, stddev), truncatedNormal(mean, stddev, min, max), uniform(min, max), exponential(rate), truncatedExponential(rate, min, max), gamma(shape, scale), truncatedGamma(shape, scale, min, max), poisson(rate), and truncatedPoisson(rate, min, max). The ‘truncated’ forms of all functions allow one to define inclusive boundaries, meaning that the returned value must fall between the min and the max values given.


     

Log in to post a comment.