MCPcopy Create free account
hub / github.com/PolyhedraZK/ExpanderCompilerCollection / Output

Method Output

ecgo/builder/api.go:411–417  ·  view source on GitHub ↗

Output adds the given variable to the circuit's output.

(x_ frontend.Variable)

Source from the content-addressed store, hash-verified

409
410// Output adds the given variable to the circuit's output.
411func (builder *builder) Output(x_ frontend.Variable) {
412 if builder.root.builder != builder {
413 panic("Output can only be called on root circuit")
414 }
415 x := builder.toVariableId(x_)
416 builder.output = append(builder.output, x)
417}

Callers

nothing calls this directly

Calls 1

toVariableIdMethod · 0.95

Tested by

no test coverage detected