Class SymGraphBuilder

java.lang.Object
org.ddogleg.chainrule.sym.SymGraphBuilder

public class SymGraphBuilder extends Object

Compiles a Sym expression onto a JacobianChainGraph: every operator node becomes its own single-block chain, expression edges become cross-chain links, and terminals become the feeds of the returned SymFunction. Unbound operator slots are an error at build time, listed by operator and index, rather than a failure mid-solve.

This round compiles the forward pass only: param terminals are fed like the others and no Jacobian columns are declared yet.

  • Constructor Details

    • SymGraphBuilder

      public SymGraphBuilder()
  • Method Details

    • build

      public SymFunction build(Sym root)
      Compiles the expression rooted at root and returns the runnable function