Struct kimchi::circuits::domains::EvaluationDomains
source · pub struct EvaluationDomains<F: FftField> {
pub d1: Radix2EvaluationDomain<F>,
pub d2: Radix2EvaluationDomain<F>,
pub d4: Radix2EvaluationDomain<F>,
pub d8: Radix2EvaluationDomain<F>,
}
Fields§
§d1: Radix2EvaluationDomain<F>
§d2: Radix2EvaluationDomain<F>
§d4: Radix2EvaluationDomain<F>
§d8: Radix2EvaluationDomain<F>
Implementations§
source§impl<F: FftField> EvaluationDomains<F>
impl<F: FftField> EvaluationDomains<F>
sourcepub fn create(n: usize) -> Result<Self, DomainCreationError>
pub fn create(n: usize) -> Result<Self, DomainCreationError>
Creates 4 evaluation domains d1
(of size n
), d2
(of size 2n
),
d4
(of size 4n
), and d8
(of size 8n
). If generator of d8
is
g
, the generator of d4
is g^2
, the generator of d2
is g^4
, and
the generator of d1
is g^8
.
Trait Implementations§
source§impl<F: Clone + FftField> Clone for EvaluationDomains<F>
impl<F: Clone + FftField> Clone for EvaluationDomains<F>
source§fn clone(&self) -> EvaluationDomains<F>
fn clone(&self) -> EvaluationDomains<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 moresource§impl<F: Debug + FftField> Debug for EvaluationDomains<F>
impl<F: Debug + FftField> Debug for EvaluationDomains<F>
source§impl<'de, F: FftField> Deserialize<'de> for EvaluationDomains<F>
impl<'de, F: FftField> Deserialize<'de> for EvaluationDomains<F>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<F: FftField> Serialize for EvaluationDomains<F>
impl<F: FftField> Serialize for EvaluationDomains<F>
impl<F: Copy + FftField> Copy for EvaluationDomains<F>
Auto Trait Implementations§
impl<F> RefUnwindSafe for EvaluationDomains<F>where F: RefUnwindSafe,
impl<F> Send for EvaluationDomains<F>
impl<F> Sync for EvaluationDomains<F>
impl<F> Unpin for EvaluationDomains<F>where F: Unpin,
impl<F> UnwindSafe for EvaluationDomains<F>where F: UnwindSafe,
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