bindSymbol

open fun bindSymbol(value: String): T

Wraps a raw string to T object. This method is designed for three purposes:

  1. Mathematical constants (e, pi).

  2. Variables for expression-like contexts (a, b, c...).

  3. Literals ({1, 2}, ((3; 4))).

In case if algebra can't parse the string, this method must throw kotlin.IllegalStateException.

Return

an object.

Parameters

value

the raw string.