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

Method Inverse

ecgo/builder/api.go:184–186  ·  view source on GitHub ↗

Inverse returns the multiplicative inverse of the given variable.

(i1 frontend.Variable)

Source from the content-addressed store, hash-verified

182
183// Inverse returns the multiplicative inverse of the given variable.
184func (builder *builder) Inverse(i1 frontend.Variable) frontend.Variable {
185 return builder.Div(1, i1)
186}
187
188// ---------------------------------------------------------------------------------------------
189// Bit operations

Callers 2

DivUncheckedMethod · 0.45
DivMethod · 0.45

Calls 1

DivMethod · 0.95

Tested by

no test coverage detected