Trait Representation
Source pub trait Representation<F: PseudoField> {
// Required methods
fn size(&self) -> usize;
fn get(&self, row: usize, column: usize) -> F;
// Provided methods
fn diagonal(&self, row: usize) -> F { ... }
fn dimension(&self) -> usize { ... }
}
The size $N$ of the APH representation.
Returns the value at the given row and column.
§Panics
Panics if the access is out-of-bounds.
Returns the value at the diagonal of the given row.
The dimension of the generator matrix.