bindSymbolOrNull

open override fun bindSymbolOrNull(value: String): MST(source)

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))).

If algebra can't parse the string, then this method must throw kotlin.IllegalStateException.

Return

an object or null if symbol could not be bound to the context.

Parameters

value

the raw string.