pub struct UairTrace<'a, PolyCoeff: Clone, Int: Clone, const D: usize> {
pub binary_poly: Cow<'a, [DenseMultilinearExtension<BinaryPoly<D>>]>,
pub arbitrary_poly: Cow<'a, [DenseMultilinearExtension<DensePolynomial<PolyCoeff, D>>]>,
pub int: Cow<'a, [DenseMultilinearExtension<Int>]>,
}Expand description
The trace of a UAIR execution (pre-projection). If owned, it contains the full trace, otherwise it contains a view on the full trace (e.g. only public columns).
Fields§
§binary_poly: Cow<'a, [DenseMultilinearExtension<BinaryPoly<D>>]>§arbitrary_poly: Cow<'a, [DenseMultilinearExtension<DensePolynomial<PolyCoeff, D>>]>§int: Cow<'a, [DenseMultilinearExtension<Int>]>Implementations§
Source§impl<PolyCoeff: Clone, Int: Clone, const D: usize> UairTrace<'static, PolyCoeff, Int, D>
impl<PolyCoeff: Clone, Int: Clone, const D: usize> UairTrace<'static, PolyCoeff, Int, D>
Sourcepub fn public(&self, sig: &UairSignature) -> UairTrace<'_, PolyCoeff, Int, D>
pub fn public(&self, sig: &UairSignature) -> UairTrace<'_, PolyCoeff, Int, D>
Returns a sub-trace containing only public columns. Returned trace is borrowed from the full trace.
Sourcepub fn witness(&self, sig: &UairSignature) -> UairTrace<'_, PolyCoeff, Int, D>
pub fn witness(&self, sig: &UairSignature) -> UairTrace<'_, PolyCoeff, Int, D>
Returns a sub-trace containing only witness columns. Returned trace is borrowed from the full trace.
Trait Implementations§
Source§impl<'a, PolyCoeff: Clone + Clone, Int: Clone + Clone, const D: usize> Clone for UairTrace<'a, PolyCoeff, Int, D>
impl<'a, PolyCoeff: Clone + Clone, Int: Clone + Clone, const D: usize> Clone for UairTrace<'a, PolyCoeff, Int, D>
Auto Trait Implementations§
impl<'a, PolyCoeff, Int, const D: usize> Freeze for UairTrace<'a, PolyCoeff, Int, D>
impl<'a, PolyCoeff, Int, const D: usize> RefUnwindSafe for UairTrace<'a, PolyCoeff, Int, D>where
Int: RefUnwindSafe,
PolyCoeff: RefUnwindSafe,
impl<'a, PolyCoeff, Int, const D: usize> Send for UairTrace<'a, PolyCoeff, Int, D>
impl<'a, PolyCoeff, Int, const D: usize> Sync for UairTrace<'a, PolyCoeff, Int, D>
impl<'a, PolyCoeff, Int, const D: usize> Unpin for UairTrace<'a, PolyCoeff, Int, D>
impl<'a, PolyCoeff, Int, const D: usize> UnsafeUnpin for UairTrace<'a, PolyCoeff, Int, D>
impl<'a, PolyCoeff, Int, const D: usize> UnwindSafe for UairTrace<'a, PolyCoeff, Int, D>
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<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