pub struct RankClock { /* private fields */ }Expand description
Public clock column of one ordered endpoint:
sel(x) · ω^(base + rank(x)), zero off the selector.
Implementations§
Source§impl RankClock
impl RankClock
Sourcepub fn for_spec(clocks: &[Option<Self>], spec_idx: usize) -> Result<&Self>
pub fn for_spec(clocks: &[Option<Self>], spec_idx: usize) -> Result<&Self>
The clock of spec spec_idx among one table’s
rank_clocks entries; errors when it has none.
Sourcepub fn evaluate<F>(&self, r: &[Flat<F>]) -> Result<Flat<F>>where
F: TowerField + HardwareField,
pub fn evaluate<F>(&self, r: &[Flat<F>]) -> Result<Flat<F>>where
F: TowerField + HardwareField,
MLE of the clock column at r.
Errors unless r.len() == num_vars.
Sourcepub fn accumulate<F>(&self, out: &mut [Flat<F>], coeff: Flat<F>) -> Result<()>where
F: TowerField + HardwareField,
pub fn accumulate<F>(&self, out: &mut [Flat<F>], coeff: Flat<F>) -> Result<()>where
F: TowerField + HardwareField,
Adds coeff · ω^(base + t) to the row of the
t-th emit. Errors unless out.len() == 2^num_vars.
Trait Implementations§
impl Eq for RankClock
impl StructuralPartialEq for RankClock
Auto Trait Implementations§
impl Freeze for RankClock
impl RefUnwindSafe for RankClock
impl Send for RankClock
impl Sync for RankClock
impl Unpin for RankClock
impl UnsafeUnpin for RankClock
impl UnwindSafe for RankClock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more