Crate math_parse

source ·

Enums

  • Type used to represent any errors that can happen in the parsing of a math expression.

Functions

  • Return true if the given string contains any character that are used as operators inside of math-parse
  • Parse the expression given and apply the optional map of variable that maps variables to math expressions. Return a floating point number. If the result is an integer, convert it as a floating point number.
  • Parse the expression given and apply the optional map of variable that maps variables to math expressions. Return an integer or error out if the result is a floating point number.