Struct twenty_first::shared_math::fri::FriDomain
source · [−]pub struct FriDomain<PF: FiniteField> {
pub offset: PF,
pub omega: PF,
pub length: usize,
}
Fields
offset: PF
omega: PF
length: usize
Implementations
sourceimpl FriDomain<XFieldElement>
impl FriDomain<XFieldElement>
pub fn x_evaluate(
&self,
polynomial: &Polynomial<XFieldElement>
) -> Vec<XFieldElement>
pub fn x_interpolate(
&self,
values: &[XFieldElement]
) -> Polynomial<XFieldElement>
pub fn b_domain_value(&self, index: u32) -> BFieldElement
pub fn b_domain_values(&self) -> Vec<BFieldElement>
pub fn b_evaluate(
&self,
polynomial: &Polynomial<BFieldElement>,
zero: BFieldElement
) -> Vec<BFieldElement>
pub fn b_interpolate(
&self,
values: &[BFieldElement]
) -> Polynomial<BFieldElement>
Trait Implementations
sourceimpl<PF: Clone + FiniteField> Clone for FriDomain<PF>
impl<PF: Clone + FiniteField> Clone for FriDomain<PF>
Auto Trait Implementations
impl<PF> RefUnwindSafe for FriDomain<PF>where
PF: RefUnwindSafe,
impl<PF> Send for FriDomain<PF>
impl<PF> Sync for FriDomain<PF>
impl<PF> Unpin for FriDomain<PF>where
PF: Unpin,
impl<PF> UnwindSafe for FriDomain<PF>where
PF: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more