pub struct CompositePolyOracle<F: Field> { /* private fields */ }
Implementations§
Source§impl<F: Field> CompositePolyOracle<F>
impl<F: Field> CompositePolyOracle<F>
pub fn new<C: CompositionPolyOS<F> + 'static>( n_vars: usize, inner: Vec<MultilinearPolyOracle<F>>, composition: C, ) -> Result<Self, Error>
pub fn max_individual_degree(&self) -> usize
pub fn n_multilinears(&self) -> usize
pub fn binary_tower_level(&self) -> usize
pub fn n_vars(&self) -> usize
pub fn inner_polys_oracle_ids(&self) -> impl Iterator<Item = OracleId> + '_
pub fn inner_polys(&self) -> Vec<MultilinearPolyOracle<F>>
pub fn composition(&self) -> Arc<dyn CompositionPolyOS<F>>
Trait Implementations§
Source§impl<F: Clone + Field> Clone for CompositePolyOracle<F>
impl<F: Clone + Field> Clone for CompositePolyOracle<F>
Source§fn clone(&self) -> CompositePolyOracle<F>
fn clone(&self) -> CompositePolyOracle<F>
Returns a copy 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 moreAuto Trait Implementations§
impl<F> Freeze for CompositePolyOracle<F>
impl<F> !RefUnwindSafe for CompositePolyOracle<F>
impl<F> Send for CompositePolyOracle<F>
impl<F> Sync for CompositePolyOracle<F>
impl<F> Unpin for CompositePolyOracle<F>
impl<F> !UnwindSafe for CompositePolyOracle<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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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