bindSymbolOrNull
Wraps a raw string to T object. This method is designed for three purposes:
Mathematical constants (
e
,pi
).Variables for expression-like contexts (
a
,b
,c
…).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.