cyjax.polynomial.split_subscript#
- cyjax.polynomial.split_subscript(var)#
Split variable into main name and integer subscript (or None).
Both z1 and z_1 are permitted syntax and are treated equivalently. Internally, they are replaced by z1 (see
merge_subscript()
). Superscripts are not supported.- Return type:
tuple
[str
,Optional
[int
]]