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

Method toVariable

ecgo/builder/builder.go:170–172  ·  view source on GitHub ↗
(input interface{})

Source from the content-addressed store, hash-verified

168}
169
170func (builder *builder) toVariable(input interface{}) frontend.Variable {
171 return newVariable(builder.toVariableId(input))
172}
173
174// toVariables return frontend.Variable corresponding to inputs and the total size of the linear expressions
175func (builder *builder) toVariableIds(in ...frontend.Variable) []int {

Callers 9

addMethod · 0.95
NegMethod · 0.95
MulMethod · 0.95
DivUncheckedMethod · 0.95
DivMethod · 0.95
XorMethod · 0.95
OrMethod · 0.95
AndMethod · 0.95
IsZeroMethod · 0.95

Calls 2

toVariableIdMethod · 0.95
newVariableFunction · 0.85

Tested by

no test coverage detected