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<F: TowerField> MultilinearOracleSetAddition<'_, F>
impl<F: TowerField> MultilinearOracleSetAddition<'_, F>
pub fn transparent( self, poly: impl MultivariatePoly<F> + 'static, ) -> Result<OracleId, Error>
pub fn committed(self, n_vars: usize, tower_level: usize) -> OracleId
pub fn committed_multiple<const N: usize>( self, n_vars: usize, tower_level: usize, ) -> [OracleId; N]
pub fn repeating( self, inner_id: OracleId, log_count: usize, ) -> Result<OracleId, Error>
pub fn shifted( self, inner_id: OracleId, offset: usize, block_bits: usize, variant: ShiftVariant, ) -> Result<OracleId, Error>
pub fn packed( self, inner_id: OracleId, log_degree: usize, ) -> Result<OracleId, Error>
pub fn projected( self, inner_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, inner_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