pub struct MultilinearOracleSetAddition<'a, F: TowerField> { /* private fields */ }
Expand description
Meta struct that lets you add optional name
for the Multilinear before adding to the
MultilinearOracleSet
Implementations§
source§impl<'a, F: TowerField> MultilinearOracleSetAddition<'a, F>
impl<'a, F: TowerField> MultilinearOracleSetAddition<'a, F>
pub fn transparent( self, poly: impl MultivariatePoly<F> + 'static, ) -> Result<OracleId, Error>
pub fn committed(self, batch_id: BatchId) -> OracleId
pub fn committed_multiple<const N: usize>( self, batch_id: BatchId, ) -> [OracleId; N]
pub fn repeating( self, id: OracleId, log_count: usize, ) -> Result<OracleId, Error>
pub fn shifted( self, id: OracleId, offset: usize, block_bits: usize, variant: ShiftVariant, ) -> Result<OracleId, Error>
pub fn packed(self, id: OracleId, log_degree: usize) -> Result<OracleId, Error>
pub fn projected( self, id: OracleId, values: Vec<F>, variant: ProjectionVariant, ) -> Result<OracleId, Error>
pub fn linear_combination( self, n_vars: usize, inner: impl IntoIterator<Item = (OracleId, F)>, ) -> Result<OracleId, Error>
pub fn linear_combination_with_offset( self, n_vars: usize, offset: F, inner: impl IntoIterator<Item = (OracleId, F)>, ) -> Result<OracleId, Error>
pub fn zero_padded(self, id: OracleId, n_vars: usize) -> Result<OracleId, Error>
Auto Trait Implementations§
impl<'a, F> Freeze for MultilinearOracleSetAddition<'a, F>
impl<'a, F> !RefUnwindSafe for MultilinearOracleSetAddition<'a, F>
impl<'a, F> Send for MultilinearOracleSetAddition<'a, F>
impl<'a, F> Sync for MultilinearOracleSetAddition<'a, F>
impl<'a, F> Unpin for MultilinearOracleSetAddition<'a, F>
impl<'a, F> !UnwindSafe for MultilinearOracleSetAddition<'a, F>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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