pub struct CompositePolyOracle<F: Field> { /* private fields */ }
Implementations§
source§impl<F: Field> CompositePolyOracle<F>
impl<F: Field> CompositePolyOracle<F>
pub fn new<C: CompositionPoly<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 CompositionPoly<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.6.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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§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