Struct ark_marlin::ahp::indexer::IndexInfo [−][src]
pub struct IndexInfo<F> { pub num_variables: usize, pub num_constraints: usize, pub num_non_zero: usize, pub num_instance_variables: usize, // some fields omitted }
Expand description
Information about the index, including the field of definition, the number of variables, the number of constraints, and the maximum number of non-zero entries in any of the constraint matrices.
Fields
num_variables: usize
The total number of variables in the constraint system.
num_constraints: usize
The number of constraints.
num_non_zero: usize
The maximum number of non-zero entries in any constraint matrix.
num_instance_variables: usize
The number of input elements.
Implementations
The maximum degree of polynomial required to represent this index in the the AHP.
Trait Implementations
Reads Self
from reader
.
Reads Self
from reader
without compression.
Reads self
from reader
without compression, and without performing
validity checks. Should be used only when the input is trusted. Read more
Serializes self
into writer
.
It is left up to a particular type for how it strikes the
serialization efficiency vs compression tradeoff.
For standard types (e.g. bool
, lengths, etc.) typically an uncompressed
form is used, whereas for algebraic types compressed forms are used. Read more
Serializes self
into writer
without compression.
Serializes self
into writer
without compression, and without
performing validity checks. Should be used only when there is no
danger of adversarial manipulation of the output. Read more
Auto Trait Implementations
impl<F> RefUnwindSafe for IndexInfo<F> where
F: RefUnwindSafe,
impl<F> UnwindSafe for IndexInfo<F> where
F: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
fn hash_uncompressed<H>(&self) -> GenericArray<u8, <H as Digest>::OutputSize> where
H: Digest,
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V