Converts this ASTNode to a text string using a specific syntax for mathematical formulas.
The text-string form of mathematical formulas produced by formulaToString() and read by parseFormula() are simple C-inspired infix notation taken from SBML Level 1. A formula in this text-string form therefore can be handed to a program that understands SBML Level 1 mathematical expressions, or used as part of a formula translation system. The syntax is described in detail in the documentation for ASTNode.
@return the formula from the given AST as an SBML Level 1 text-stringmathematical formula. The caller owns the returned string and is responsible for freeing it when it is no longer needed. {@code null} isreturned if the given argument is {@code null}. @throws SBMLException if there is a problem in the ASTNode tree.
|
|
|
|