Bertini 2 d882924 (2026-10-06 19:56 UTC)
Numerical algebraic geometry library (C++ core)
Loading...
Searching...
No Matches
bertini::io Namespace Reference

Functions

boost::json::object SystemPartsJson (System const &sys)
 A System's structure as a JSON object with fields for its parts.

Function Documentation

◆ SystemPartsJson()

boost::json::object bertini::io::SystemPartsJson ( System const & sys)
inline

A System's structure as a JSON object with fields for its parts.

Fields: variable_groups / hom_variable_groups (arrays of arrays of names, declaration order), homogenizing_variables (names; present in homogenized systems), path_variable (name, or null), named_subexpressions ({name: expression}, discovered inside the function trees), functions (the polynomial functions as expression strings), blocks (one {"kind", "num_functions"} per evaluation block, in order – so randomized, sliced, and blended systems say so), and is_patched (with num_patches when patched). Exact block coefficients live in the canonical encoding, not here.

Parameters
sysThe system to render.
Returns
The parts as a boost::json object (presentation only, never identity).