pub struct BigLinearUair<R>(/* private fields */);Trait Implementations§
Source§impl<R: Clone> Clone for BigLinearUair<R>
impl<R: Clone> Clone for BigLinearUair<R>
Source§fn clone(&self) -> BigLinearUair<R>
fn clone(&self) -> BigLinearUair<R>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<R: Debug> Debug for BigLinearUair<R>
impl<R: Debug> Debug for BigLinearUair<R>
Source§impl<R> GenerateRandomTrace<32> for BigLinearUair<R>
impl<R> GenerateRandomTrace<32> for BigLinearUair<R>
Source§impl<R> Uair for BigLinearUair<R>
impl<R> Uair for BigLinearUair<R>
Source§type Ideal = RotationIdeal<R, 1>
type Ideal = RotationIdeal<R, 1>
The ideal type the AIR operates with.
Since a
ConstraintBuilder is “opaque” for a Uair
a Uair has to have a means to create ideals
so ideals are fixed by this associated types.
At the constrain* methods a Uair is given
a way to convert its own ideals into builder’s ideals
via the FromRef trait.Source§type Scalar = DensePolynomial<R, 32>
type Scalar = DensePolynomial<R, 32>
The type of scalars of the UAIR.
For now, we assume they are of
the type “arbitrary polynomials”.
Source§fn signature() -> UairSignature
fn signature() -> UairSignature
Signature of the UAIR. Read more
Source§fn constrain_general<B, FromR, MulByScalar, IFromR>(
b: &mut B,
up: TraceRow<'_, B::Expr>,
down: TraceRow<'_, B::Expr>,
_from_ref: FromR,
_mbs: MulByScalar,
ideal_from_ref: IFromR,
)
fn constrain_general<B, FromR, MulByScalar, IFromR>( b: &mut B, up: TraceRow<'_, B::Expr>, down: TraceRow<'_, B::Expr>, _from_ref: FromR, _mbs: MulByScalar, ideal_from_ref: IFromR, )
A general method for describing constraints. Read more
fn constrain<B>(
b: &mut B,
up: TraceRow<'_, <B as ConstraintBuilder>::Expr>,
down: TraceRow<'_, <B as ConstraintBuilder>::Expr>,
)where
B: ConstraintBuilder,
<B as ConstraintBuilder>::Expr: FromRef<Self::Scalar> + for<'b> MulByScalar<&'b Self::Scalar>,
<B as ConstraintBuilder>::Ideal: FromRef<Self::Ideal>,
Auto Trait Implementations§
impl<R> Freeze for BigLinearUair<R>
impl<R> RefUnwindSafe for BigLinearUair<R>where
R: RefUnwindSafe,
impl<R> Send for BigLinearUair<R>where
R: Send,
impl<R> Sync for BigLinearUair<R>where
R: Sync,
impl<R> Unpin for BigLinearUair<R>where
R: Unpin,
impl<R> UnsafeUnpin for BigLinearUair<R>
impl<R> UnwindSafe for BigLinearUair<R>where
R: UnwindSafe,
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