Skip to content

Supported Functions and Operations

James Sharkey edited this page Jan 25, 2019 · 4 revisions

Maths

Standard Operations

  • Addition (+) and Subtraction (-)
  • Multiplication (*, implicitly xy, implicitly x y)
  • Division (/)
  • Exponentiation (**, ^)
  • Unary Negation (-)

Numbers

  • Integers (0, 1, -1, ...)
  • Decimals (0.123, ...)
  • Rational Numbers (1/2, ...)

Trigonometic Functions

  • Standard trig functions (sin(), cos(), tan())
  • Inverse trig functions (arcsin(), arccos(), arctan())
  • Reciprocal trig functions (cosec(), sec(), cot())
  • Inverse reciprocal trig functions (arccosec(), arcsec(), arccot())
  • Hyperbolic trig functions (sinh(), cosh(), tanh())
  • Inverse hyperbolic trig functions (arcsinh(), arccosh(), arctanh())
  • Reciprocal hyperbolic trig functions (cosech(), sech(), coth())

No inverse reciprocal hyperbolic trig functions

Logarithms and Exponentials

  • Exponential function (exp())
  • Natural logarithm (ln())
  • Base 10 logarithm (log())
  • Logs to other bases (log(x, base))

Other Basic Functions

  • Square root (sqrt())
  • Modulus (abs())

Calculus

  • Derivatives (Derivative(y, x), Derivative(y, x, 2), Derivative(y, x, x), ...)

Equations and Inequalities

  • Equations (x == y)
  • Inequalities (x < y)

Logic

Basic operations

  • AND (&, and)
  • OR (|, or)
  • NOT (~, not)

Equivalence and implication

  • Implication (>>, <<, Implies(P, Q))
  • Equivalence (==)