Module ark_relations::r1cs [−][src]
Expand description
Core interface for working with Rank-1 Constraint Systems (R1CS).
Macros
info_span | Constructs a span at the info level. |
Structs
ConstraintMatrices | The A, B and C matrices of a Rank-One |
ConstraintSystem | An Rank-One |
LcIndex | An opaque counter for symbolic linear combinations. |
LinearCombination | A linear combination of variables according to associated coefficients. |
Namespace | A namespaced |
Enums
ConstraintSystemRef | A shared reference to a constraint system that can be stored in high level variables. |
OptimizationGoal | Defines the parameter to optimize for a |
SynthesisError | This is an error that could occur during circuit synthesis contexts, such as CRS generation, proving or verification. |
SynthesisMode | Defines the mode of operation of a |
Variable | Represents the different kinds of variables present in a constraint system. |
Traits
ConstraintSynthesizer | Computations are expressed in terms of rank-1 constraint systems (R1CS).
The |
Field | The interface for a generic field. |
ToConstraintField | Types that can be converted to a vector of |
Type Definitions
Matrix | A sparse representation of constraint matrices. |
Result | A result type specialized to |