viaduct
0.3.0
interpreter
/
io.github.aplcornell.viaduct.backend
/
WireOp
Wire
Op
data
class
WireOp
(
val
op
:
Operator
,
val
inputs
:
List
<
WireTerm
>
)
:
WireTerm
Constructors
Properties
Extensions
Constructors
Wire
Op
Link copied to clipboard
fun
WireOp
(
op
:
Operator
,
inputs
:
List
<
WireTerm
>
)
Properties
inputs
Link copied to clipboard
val
inputs
:
List
<
WireTerm
>
op
Link copied to clipboard
val
op
:
Operator
Extensions
as
String
Link copied to clipboard
fun
WireTerm
.
asString
(
)
:
String
eval
Link copied to clipboard
fun
WireTerm
.
eval
(
)
:
Int
hash
Link copied to clipboard
fun
WireTerm
.
hash
(
)
:
String
normalize
Link copied to clipboard
fun
WireTerm
.
normalize
(
counter
:
NormalizeCounter
)
:
WireTerm
to
R1CS
Link copied to clipboard
fun
WireTerm
.
toR1CS
(
isProver
:
Boolean
,
is_eq_to
:
Int
)
:
R1CS
wire
Name
Link copied to clipboard
fun
WireTerm
.
wireName
(
)
:
String