Skip to main content

from_json_string

Function from_json_string 

Source
pub fn from_json_string<L>(s: &str) -> Result<ContractionOrder<L>, JsonError>
where L: Label + for<'de> Deserialize<'de>,
Expand description

Read a contraction order from a JSON string.

Returns a ContractionOrder that can be either NestedEinsum or SlicedEinsum.