Namespace sequant::io::serialization::v1

Detailed Description

Get a serialized string from an expression.

An expression that has a flat structure (ie. product does not contain sum or product subexpressions) is guaranteed to be reparsable to itself so that equality comparison holds: x == from_string(to_string(x)). For nested expressions the equality comparison is not guaranteed, however, for such an expression x, its corresponding evaluation node, eval_node(x), and the deserialized evaluation node, eval_node(from_string(to_string(x))) are equivalent.

expr

Expression to serialize

options

Customization options

wstring of the expression.

Namespaces

Functions

Variables