Struct bellperson::domain::EvaluationDomain [−][src]
Implementations
impl<E: Engine, G: Group<E>> EvaluationDomain<E, G>
[src]
pub fn into_coeffs(self) -> Vec<G>
[src]
pub fn from_coeffs(
coeffs: Vec<G>
) -> Result<EvaluationDomain<E, G>, SynthesisError>
[src]
coeffs: Vec<G>
) -> Result<EvaluationDomain<E, G>, SynthesisError>
pub fn fft(
&mut self,
worker: &Worker,
kern: &mut Option<LockedFFTKernel<E>>
) -> GPUResult<()>
[src]
&mut self,
worker: &Worker,
kern: &mut Option<LockedFFTKernel<E>>
) -> GPUResult<()>
pub fn ifft(
&mut self,
worker: &Worker,
kern: &mut Option<LockedFFTKernel<E>>
) -> GPUResult<()>
[src]
&mut self,
worker: &Worker,
kern: &mut Option<LockedFFTKernel<E>>
) -> GPUResult<()>
pub fn distribute_powers(&mut self, worker: &Worker, g: E::Fr)
[src]
pub fn coset_fft(
&mut self,
worker: &Worker,
kern: &mut Option<LockedFFTKernel<E>>
) -> GPUResult<()>
[src]
&mut self,
worker: &Worker,
kern: &mut Option<LockedFFTKernel<E>>
) -> GPUResult<()>
pub fn icoset_fft(
&mut self,
worker: &Worker,
kern: &mut Option<LockedFFTKernel<E>>
) -> GPUResult<()>
[src]
&mut self,
worker: &Worker,
kern: &mut Option<LockedFFTKernel<E>>
) -> GPUResult<()>
pub fn z(&self, tau: &E::Fr) -> E::Fr
[src]
This evaluates t(tau) for this domain, which is tau^m - 1 for these radix-2 domains.
pub fn divide_by_z_on_coset(&mut self, worker: &Worker)
[src]
The target polynomial is the zero polynomial in our evaluation domain, so we must perform division over a coset.
pub fn mul_assign(
&mut self,
worker: &Worker,
other: &EvaluationDomain<E, Scalar<E>>
)
[src]
&mut self,
worker: &Worker,
other: &EvaluationDomain<E, Scalar<E>>
)
Perform O(n) multiplication of two polynomials in the domain.
pub fn sub_assign(&mut self, worker: &Worker, other: &EvaluationDomain<E, G>)
[src]
Perform O(n) subtraction of one polynomial from another in the domain.
Trait Implementations
impl<E: ScalarEngine, G: Group<E>> AsMut<[G]> for EvaluationDomain<E, G>
[src]
impl<E: ScalarEngine, G: Group<E>> AsRef<[G]> for EvaluationDomain<E, G>
[src]
Auto Trait Implementations
impl<E, G> RefUnwindSafe for EvaluationDomain<E, G> where
G: RefUnwindSafe,
<E as ScalarEngine>::Fr: RefUnwindSafe,
[src]
G: RefUnwindSafe,
<E as ScalarEngine>::Fr: RefUnwindSafe,
impl<E, G> Send for EvaluationDomain<E, G>
[src]
impl<E, G> Sync for EvaluationDomain<E, G>
[src]
impl<E, G> Unpin for EvaluationDomain<E, G> where
G: Unpin,
<E as ScalarEngine>::Fr: Unpin,
[src]
G: Unpin,
<E as ScalarEngine>::Fr: Unpin,
impl<E, G> UnwindSafe for EvaluationDomain<E, G> where
G: UnwindSafe,
<E as ScalarEngine>::Fr: UnwindSafe,
[src]
G: UnwindSafe,
<E as ScalarEngine>::Fr: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,