pub struct InfCube;Expand description
The infinity cube {0, inf}^n, whose per-variable basis is (1, X).
The vertex inf selects a multilinear’s leading coefficient in that variable.
So the coefficient indexed by a vertex v belongs to the monomial
prod_{i : v_i = inf} X_iTrait Implementations§
Source§impl Hypercube for InfCube
impl Hypercube for InfCube
Source§fn basis<F: FieldOps>(coord: &F) -> [F; 2]
fn basis<F: FieldOps>(coord: &F) -> [F; 2]
Evaluates the basis of one variable at a coordinate. Read more
Source§fn expand_var<F: FieldOps>(value: &F, coord: &F) -> [F; 2]
fn expand_var<F: FieldOps>(value: &F, coord: &F) -> [F; 2]
Scales the basis of one variable by a value. Read more
Source§fn contract_var<F: FieldOps>(_lo: &mut F, _hi: &F)
fn contract_var<F: FieldOps>(_lo: &mut F, _hi: &F)
Strips one variable’s basis factor from the two halves of an expansion. Read more
Source§fn eq_one_var<F: FieldOps>(x: F, y: F) -> F
fn eq_one_var<F: FieldOps>(x: F, y: F) -> F
Evaluates the equality indicator of one variable. Read more
Auto Trait Implementations§
impl Freeze for InfCube
impl RefUnwindSafe for InfCube
impl Send for InfCube
impl Sync for InfCube
impl Unpin for InfCube
impl UnsafeUnpin for InfCube
impl UnwindSafe for InfCube
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