pub struct BinaryField1b(/* private fields */);Implementations§
Source§impl BinaryField1b
 
impl BinaryField1b
Source§impl BinaryField1b
 
impl BinaryField1b
Sourcepub unsafe fn new_unchecked(val: u8) -> Self
 
pub unsafe fn new_unchecked(val: u8) -> Self
Creates value without checking that it is within valid range (0 or 1)
§Safety
Value should not exceed 1
Trait Implementations§
Source§impl Add<&BinaryField1b> for BinaryField1b
 
impl Add<&BinaryField1b> for BinaryField1b
Source§impl Add<AESTowerField8b> for BinaryField1b
 
impl Add<AESTowerField8b> for BinaryField1b
Source§type Output = AESTowerField8b
 
type Output = AESTowerField8b
The resulting type after applying the 
+ operator.Source§impl Add<BinaryField128bGhash> for BinaryField1b
 
impl Add<BinaryField128bGhash> for BinaryField1b
Source§type Output = BinaryField128bGhash
 
type Output = BinaryField128bGhash
The resulting type after applying the 
+ operator.Source§impl Add<BinaryField1b> for AESTowerField8b
 
impl Add<BinaryField1b> for AESTowerField8b
Source§type Output = AESTowerField8b
 
type Output = AESTowerField8b
The resulting type after applying the 
+ operator.Source§impl Add<BinaryField1b> for BinaryField128bGhash
 
impl Add<BinaryField1b> for BinaryField128bGhash
Source§type Output = BinaryField128bGhash
 
type Output = BinaryField128bGhash
The resulting type after applying the 
+ operator.Source§impl Add for BinaryField1b
 
impl Add for BinaryField1b
Source§impl AddAssign<&BinaryField1b> for BinaryField1b
 
impl AddAssign<&BinaryField1b> for BinaryField1b
Source§fn add_assign(&mut self, rhs: &Self)
 
fn add_assign(&mut self, rhs: &Self)
Performs the 
+= operation. Read moreSource§impl AddAssign<BinaryField1b> for AESTowerField8b
 
impl AddAssign<BinaryField1b> for AESTowerField8b
Source§fn add_assign(&mut self, rhs: BinaryField1b)
 
fn add_assign(&mut self, rhs: BinaryField1b)
Performs the 
+= operation. Read moreSource§impl AddAssign<BinaryField1b> for BinaryField128bGhash
 
impl AddAssign<BinaryField1b> for BinaryField128bGhash
Source§fn add_assign(&mut self, rhs: BinaryField1b)
 
fn add_assign(&mut self, rhs: BinaryField1b)
Performs the 
+= operation. Read moreSource§impl AddAssign for BinaryField1b
 
impl AddAssign for BinaryField1b
Source§fn add_assign(&mut self, rhs: Self)
 
fn add_assign(&mut self, rhs: Self)
Performs the 
+= operation. Read moreSource§impl AsSinglePacked for BinaryField1b
 
impl AsSinglePacked for BinaryField1b
type Packed = PackedPrimitiveType<SmallU<1>, BinaryField1b>
fn to_single_packed(self) -> Self::Packed
fn from_single_packed(value: Self::Packed) -> Self
Source§impl BinaryField for BinaryField1b
 
impl BinaryField for BinaryField1b
const MULTIPLICATIVE_GENERATOR: BinaryField1b
const N_BITS: usize = Self::DEGREE
Source§impl Clone for BinaryField1b
 
impl Clone for BinaryField1b
Source§fn clone(&self) -> BinaryField1b
 
fn clone(&self) -> BinaryField1b
Returns a duplicate 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 Debug for BinaryField1b
 
impl Debug for BinaryField1b
Source§impl Default for BinaryField1b
 
impl Default for BinaryField1b
Source§fn default() -> BinaryField1b
 
fn default() -> BinaryField1b
Returns the “default value” for a type. Read more
Source§impl DeserializeBytes for BinaryField1b
 
impl DeserializeBytes for BinaryField1b
fn deserialize(read_buf: impl Buf) -> Result<Self, SerializationError>
Source§impl Display for BinaryField1b
 
impl Display for BinaryField1b
Source§impl Distribution<BinaryField1b> for StandardUniform
 
impl Distribution<BinaryField1b> for StandardUniform
Source§impl ExtensionField<BinaryField1b> for AESTowerField8b
 
impl ExtensionField<BinaryField1b> for AESTowerField8b
Source§const LOG_DEGREE: usize = 3usize
 
const LOG_DEGREE: usize = 3usize
Base-2 logarithm of the extension degree.
Source§fn from_bases_sparse(
    base_elems: impl IntoIterator<Item = BinaryField1b>,
    log_stride: usize,
) -> Result<Self, Error>
 
fn from_bases_sparse( base_elems: impl IntoIterator<Item = BinaryField1b>, log_stride: usize, ) -> Result<Self, Error>
A specialized version of 
from_bases which assumes that only base field
elements with indices dividing 2^log_stride can be nonzero. Read moreSource§fn iter_bases(&self) -> impl Iterator<Item = BinaryField1b>
 
fn iter_bases(&self) -> impl Iterator<Item = BinaryField1b>
Iterator over base field elements.
Source§fn into_iter_bases(self) -> impl Iterator<Item = BinaryField1b>
 
fn into_iter_bases(self) -> impl Iterator<Item = BinaryField1b>
Convert into an iterator over base field elements.
Source§unsafe fn get_base_unchecked(&self, i: usize) -> BinaryField1b
 
unsafe fn get_base_unchecked(&self, i: usize) -> BinaryField1b
Returns the i-th base field element without bounds checking. Read more
Source§fn square_transpose(values: &mut [Self]) -> Result<(), Error>
 
fn square_transpose(values: &mut [Self]) -> Result<(), Error>
Transpose square block of subfield elements within 
values in place.Source§fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Result<Self, Error>
 
fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Result<Self, Error>
Create an extension field element from a slice of base field elements in order
consistent with 
basis(i) return values.
Potentially faster than taking an inner product with a vector of basis elements.Source§impl ExtensionField<BinaryField1b> for BinaryField128bGhash
 
impl ExtensionField<BinaryField1b> for BinaryField128bGhash
Source§const LOG_DEGREE: usize = 7usize
 
const LOG_DEGREE: usize = 7usize
Base-2 logarithm of the extension degree.
Source§fn from_bases_sparse(
    base_elems: impl IntoIterator<Item = BinaryField1b>,
    log_stride: usize,
) -> Result<Self, Error>
 
fn from_bases_sparse( base_elems: impl IntoIterator<Item = BinaryField1b>, log_stride: usize, ) -> Result<Self, Error>
A specialized version of 
from_bases which assumes that only base field
elements with indices dividing 2^log_stride can be nonzero. Read moreSource§fn iter_bases(&self) -> impl Iterator<Item = BinaryField1b>
 
fn iter_bases(&self) -> impl Iterator<Item = BinaryField1b>
Iterator over base field elements.
Source§fn into_iter_bases(self) -> impl Iterator<Item = BinaryField1b>
 
fn into_iter_bases(self) -> impl Iterator<Item = BinaryField1b>
Convert into an iterator over base field elements.
Source§unsafe fn get_base_unchecked(&self, i: usize) -> BinaryField1b
 
unsafe fn get_base_unchecked(&self, i: usize) -> BinaryField1b
Returns the i-th base field element without bounds checking. Read more
Source§fn square_transpose(values: &mut [Self]) -> Result<(), Error>
 
fn square_transpose(values: &mut [Self]) -> Result<(), Error>
Transpose square block of subfield elements within 
values in place.Source§fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Result<Self, Error>
 
fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Result<Self, Error>
Create an extension field element from a slice of base field elements in order
consistent with 
basis(i) return values.
Potentially faster than taking an inner product with a vector of basis elements.Source§impl Field for BinaryField1b
 
impl Field for BinaryField1b
Source§impl From<BinaryField1b> for AESTowerField8b
 
impl From<BinaryField1b> for AESTowerField8b
Source§fn from(elem: BinaryField1b) -> Self
 
fn from(elem: BinaryField1b) -> Self
Converts to this type from the input type.
Source§impl From<BinaryField1b> for BinaryField128bGhash
 
impl From<BinaryField1b> for BinaryField128bGhash
Source§fn from(value: BinaryField1b) -> Self
 
fn from(value: BinaryField1b) -> Self
Converts to this type from the input type.
Source§impl From<BinaryField1b> for u8
 
impl From<BinaryField1b> for u8
Source§fn from(value: BinaryField1b) -> Self
 
fn from(value: BinaryField1b) -> Self
Converts to this type from the input type.
Source§impl From<bool> for BinaryField1b
 
impl From<bool> for BinaryField1b
Source§impl From<u8> for BinaryField1b
 
impl From<u8> for BinaryField1b
Source§impl Hash for BinaryField1b
 
impl Hash for BinaryField1b
Source§impl InvertOrZero for BinaryField1b
 
impl InvertOrZero for BinaryField1b
Source§fn invert_or_zero(self) -> Self
 
fn invert_or_zero(self) -> Self
Returns the inverted value or zero in case when 
self is zeroSource§impl Mul<&BinaryField1b> for BinaryField1b
 
impl Mul<&BinaryField1b> for BinaryField1b
Source§impl Mul<AESTowerField8b> for BinaryField1b
 
impl Mul<AESTowerField8b> for BinaryField1b
Source§type Output = AESTowerField8b
 
type Output = AESTowerField8b
The resulting type after applying the 
* operator.Source§impl Mul<BinaryField128bGhash> for BinaryField1b
 
impl Mul<BinaryField128bGhash> for BinaryField1b
Source§type Output = BinaryField128bGhash
 
type Output = BinaryField128bGhash
The resulting type after applying the 
* operator.Source§impl Mul<BinaryField1b> for AESTowerField8b
 
impl Mul<BinaryField1b> for AESTowerField8b
Source§type Output = AESTowerField8b
 
type Output = AESTowerField8b
The resulting type after applying the 
* operator.Source§impl Mul<BinaryField1b> for BinaryField128bGhash
 
impl Mul<BinaryField1b> for BinaryField128bGhash
Source§type Output = BinaryField128bGhash
 
type Output = BinaryField128bGhash
The resulting type after applying the 
* operator.Source§impl Mul for BinaryField1b
 
impl Mul for BinaryField1b
Source§impl MulAssign<&BinaryField1b> for BinaryField1b
 
impl MulAssign<&BinaryField1b> for BinaryField1b
Source§fn mul_assign(&mut self, rhs: &Self)
 
fn mul_assign(&mut self, rhs: &Self)
Performs the 
*= operation. Read moreSource§impl MulAssign<BinaryField1b> for AESTowerField8b
 
impl MulAssign<BinaryField1b> for AESTowerField8b
Source§fn mul_assign(&mut self, rhs: BinaryField1b)
 
fn mul_assign(&mut self, rhs: BinaryField1b)
Performs the 
*= operation. Read moreSource§impl MulAssign<BinaryField1b> for BinaryField128bGhash
 
impl MulAssign<BinaryField1b> for BinaryField128bGhash
Source§fn mul_assign(&mut self, rhs: BinaryField1b)
 
fn mul_assign(&mut self, rhs: BinaryField1b)
Performs the 
*= operation. Read moreSource§impl MulAssign for BinaryField1b
 
impl MulAssign for BinaryField1b
Source§fn mul_assign(&mut self, rhs: Self)
 
fn mul_assign(&mut self, rhs: Self)
Performs the 
*= operation. Read moreSource§impl Neg for BinaryField1b
 
impl Neg for BinaryField1b
Source§impl Ord for BinaryField1b
 
impl Ord for BinaryField1b
Source§fn cmp(&self, other: &BinaryField1b) -> Ordering
 
fn cmp(&self, other: &BinaryField1b) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BinaryField1b
 
impl PartialEq for BinaryField1b
Source§impl PartialOrd for BinaryField1b
 
impl PartialOrd for BinaryField1b
Source§impl<'a> Product<&'a BinaryField1b> for BinaryField1b
 
impl<'a> Product<&'a BinaryField1b> for BinaryField1b
Source§impl Product for BinaryField1b
 
impl Product for BinaryField1b
Source§impl SerializeBytes for BinaryField1b
 
impl SerializeBytes for BinaryField1b
Source§impl Square for BinaryField1b
 
impl Square for BinaryField1b
Source§impl Sub<&BinaryField1b> for BinaryField1b
 
impl Sub<&BinaryField1b> for BinaryField1b
Source§impl Sub<AESTowerField8b> for BinaryField1b
 
impl Sub<AESTowerField8b> for BinaryField1b
Source§type Output = AESTowerField8b
 
type Output = AESTowerField8b
The resulting type after applying the 
- operator.Source§impl Sub<BinaryField128bGhash> for BinaryField1b
 
impl Sub<BinaryField128bGhash> for BinaryField1b
Source§type Output = BinaryField128bGhash
 
type Output = BinaryField128bGhash
The resulting type after applying the 
- operator.Source§impl Sub<BinaryField1b> for AESTowerField8b
 
impl Sub<BinaryField1b> for AESTowerField8b
Source§type Output = AESTowerField8b
 
type Output = AESTowerField8b
The resulting type after applying the 
- operator.Source§impl Sub<BinaryField1b> for BinaryField128bGhash
 
impl Sub<BinaryField1b> for BinaryField128bGhash
Source§type Output = BinaryField128bGhash
 
type Output = BinaryField128bGhash
The resulting type after applying the 
- operator.Source§impl Sub for BinaryField1b
 
impl Sub for BinaryField1b
Source§impl SubAssign<&BinaryField1b> for BinaryField1b
 
impl SubAssign<&BinaryField1b> for BinaryField1b
Source§fn sub_assign(&mut self, rhs: &Self)
 
fn sub_assign(&mut self, rhs: &Self)
Performs the 
-= operation. Read moreSource§impl SubAssign<BinaryField1b> for AESTowerField8b
 
impl SubAssign<BinaryField1b> for AESTowerField8b
Source§fn sub_assign(&mut self, rhs: BinaryField1b)
 
fn sub_assign(&mut self, rhs: BinaryField1b)
Performs the 
-= operation. Read moreSource§impl SubAssign<BinaryField1b> for BinaryField128bGhash
 
impl SubAssign<BinaryField1b> for BinaryField128bGhash
Source§fn sub_assign(&mut self, rhs: BinaryField1b)
 
fn sub_assign(&mut self, rhs: BinaryField1b)
Performs the 
-= operation. Read moreSource§impl SubAssign for BinaryField1b
 
impl SubAssign for BinaryField1b
Source§fn sub_assign(&mut self, rhs: Self)
 
fn sub_assign(&mut self, rhs: Self)
Performs the 
-= operation. Read moreSource§impl<'a> Sum<&'a BinaryField1b> for BinaryField1b
 
impl<'a> Sum<&'a BinaryField1b> for BinaryField1b
Source§impl Sum for BinaryField1b
 
impl Sum for BinaryField1b
Source§impl TowerField for BinaryField1b
 
impl TowerField for BinaryField1b
Source§fn min_tower_level(self) -> usize
 
fn min_tower_level(self) -> usize
Returns the smallest valid 
TOWER_LEVEL in the tower that can fit the same value. Read moreSource§fn mul_primitive(self, _: usize) -> Result<Self, Error>
 
fn mul_primitive(self, _: usize) -> Result<Self, Error>
Multiplies a field element by the canonical primitive element of the extension $T_{\iota +
1} / T_{iota}$. Read more
Source§const TOWER_LEVEL: usize = _
 
const TOWER_LEVEL: usize = _
The level $\iota$ in the tower, where this field is isomorphic to $T_{\iota}$.
Source§impl TryFrom<AESTowerField8b> for BinaryField1b
 
impl TryFrom<AESTowerField8b> for BinaryField1b
Source§impl TryInto<BinaryField1b> for BinaryField128bGhash
 
impl TryInto<BinaryField1b> for BinaryField128bGhash
Source§impl WithUnderlier for BinaryField1b
 
impl WithUnderlier for BinaryField1b
Source§fn to_underlier(self) -> Self::Underlier
 
fn to_underlier(self) -> Self::Underlier
Convert value to underlier.
fn to_underlier_ref(&self) -> &Self::Underlier
fn to_underlier_ref_mut(&mut self) -> &mut Self::Underlier
fn to_underliers_ref(val: &[Self]) -> &[Self::Underlier]
fn to_underliers_ref_mut(val: &mut [Self]) -> &mut [Self::Underlier]
fn from_underlier(val: Self::Underlier) -> Self
fn from_underlier_ref(val: &Self::Underlier) -> &Self
fn from_underlier_ref_mut(val: &mut Self::Underlier) -> &mut Self
fn from_underliers_ref(val: &[Self::Underlier]) -> &[Self]
fn from_underliers_ref_mut(val: &mut [Self::Underlier]) -> &mut [Self]
fn to_underliers_arr<const N: usize>(val: [Self; N]) -> [Self::Underlier; N]
fn to_underliers_arr_ref<const N: usize>( val: &[Self; N], ) -> &[Self::Underlier; N]
fn to_underliers_arr_ref_mut<const N: usize>( val: &mut [Self; N], ) -> &mut [Self::Underlier; N]
fn from_underliers_arr<const N: usize>(val: [Self::Underlier; N]) -> [Self; N]
fn from_underliers_arr_ref<const N: usize>( val: &[Self::Underlier; N], ) -> &[Self; N]
fn from_underliers_arr_ref_mut<const N: usize>( val: &mut [Self::Underlier; N], ) -> &mut [Self; N]
fn mutate_underlier( self, f: impl FnOnce(Self::Underlier) -> Self::Underlier, ) -> Self
impl Copy for BinaryField1b
impl Eq for BinaryField1b
impl StructuralPartialEq for BinaryField1b
Auto Trait Implementations§
impl Freeze for BinaryField1b
impl RefUnwindSafe for BinaryField1b
impl Send for BinaryField1b
impl Sync for BinaryField1b
impl Unpin for BinaryField1b
impl UnwindSafe for BinaryField1b
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§impl<F> ExtensionField<F> for Fwhere
    F: Field,
 
impl<F> ExtensionField<F> for Fwhere
    F: Field,
Source§const LOG_DEGREE: usize = 0usize
 
const LOG_DEGREE: usize = 0usize
Base-2 logarithm of the extension degree.
Source§fn from_bases_sparse(
    base_elems: impl IntoIterator<Item = F>,
    log_stride: usize,
) -> Result<F, Error>
 
fn from_bases_sparse( base_elems: impl IntoIterator<Item = F>, log_stride: usize, ) -> Result<F, Error>
A specialized version of 
from_bases which assumes that only base field
elements with indices dividing 2^log_stride can be nonzero. Read moreSource§fn iter_bases(&self) -> impl Iterator<Item = F>
 
fn iter_bases(&self) -> impl Iterator<Item = F>
Iterator over base field elements.
Source§fn into_iter_bases(self) -> impl Iterator<Item = F>
 
fn into_iter_bases(self) -> impl Iterator<Item = F>
Convert into an iterator over base field elements.
Source§unsafe fn get_base_unchecked(&self, i: usize) -> F
 
unsafe fn get_base_unchecked(&self, i: usize) -> F
Returns the i-th base field element without bounds checking. Read more
Source§fn square_transpose(values: &mut [F]) -> Result<(), Error>
 
fn square_transpose(values: &mut [F]) -> Result<(), Error>
Transpose square block of subfield elements within 
values in place.Source§fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Result<Self, Error>
 
fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Result<Self, Error>
Create an extension field element from a slice of base field elements in order
consistent with 
basis(i) return values.
Potentially faster than taking an inner product with a vector of basis elements.§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 moreSource§impl<F> PackedField for Fwhere
    F: Field,
 
impl<F> PackedField for Fwhere
    F: Field,
Source§const LOG_WIDTH: usize = 0usize
 
const LOG_WIDTH: usize = 0usize
Base-2 logarithm of the number of field elements packed into one packed element.
type Scalar = F
Source§unsafe fn get_unchecked(&self, _i: usize) -> <F as PackedField>::Scalar
 
unsafe fn get_unchecked(&self, _i: usize) -> <F as PackedField>::Scalar
Get the scalar at a given index without bounds checking. Read more
Source§unsafe fn set_unchecked(
    &mut self,
    _i: usize,
    scalar: <F as PackedField>::Scalar,
)
 
unsafe fn set_unchecked( &mut self, _i: usize, scalar: <F as PackedField>::Scalar, )
Set the scalar at a given index without bounds checking. Read more
fn iter( &self, ) -> impl Iterator<Item = <F as PackedField>::Scalar> + Send + Clone
fn into_iter( self, ) -> impl Iterator<Item = <F as PackedField>::Scalar> + Send + Clone
fn iter_slice( slice: &[F], ) -> impl Iterator<Item = <F as PackedField>::Scalar> + Send + Clone
Source§fn interleave(self, _other: F, _log_block_len: usize) -> (F, F)
 
fn interleave(self, _other: F, _log_block_len: usize) -> (F, F)
Interleaves blocks of this packed vector with another packed vector. Read more
Source§fn unzip(self, _other: F, _log_block_len: usize) -> (F, F)
 
fn unzip(self, _other: F, _log_block_len: usize) -> (F, F)
Unzips interleaved blocks of this packed vector with another packed vector. Read more
fn broadcast(scalar: <F as PackedField>::Scalar) -> F
fn zero() -> F
fn one() -> F
Source§fn invert_or_zero(self) -> F
 
fn invert_or_zero(self) -> F
Returns the packed inverse values or zeroes at indices where 
self is zero.Source§fn from_fn(f: impl FnMut(usize) -> <F as PackedField>::Scalar) -> F
 
fn from_fn(f: impl FnMut(usize) -> <F as PackedField>::Scalar) -> F
Construct a packed field element from a function that returns scalar values by index.
Source§unsafe fn spread_unchecked(self, _log_block_len: usize, _block_idx: usize) -> F
 
unsafe fn spread_unchecked(self, _log_block_len: usize, _block_idx: usize) -> F
Unsafe version of 
Self::spread. Read moreSource§fn get_checked(&self, i: usize) -> Result<Self::Scalar, Error>
 
fn get_checked(&self, i: usize) -> Result<Self::Scalar, Error>
Get the scalar at a given index.
Source§fn set_checked(&mut self, i: usize, scalar: Self::Scalar) -> Result<(), Error>
 
fn set_checked(&mut self, i: usize, scalar: Self::Scalar) -> Result<(), Error>
Set the scalar at a given index.
Source§fn set_single(scalar: Self::Scalar) -> Self
 
fn set_single(scalar: Self::Scalar) -> Self
Initialize zero position with 
scalar, set other elements to zero.Source§fn try_from_fn<E>(
    f: impl FnMut(usize) -> Result<Self::Scalar, E>,
) -> Result<Self, E>
 
fn try_from_fn<E>( f: impl FnMut(usize) -> Result<Self::Scalar, E>, ) -> Result<Self, E>
Creates a packed field from a fallible function applied to each index.
Source§fn from_scalars(values: impl IntoIterator<Item = Self::Scalar>) -> Self
 
fn from_scalars(values: impl IntoIterator<Item = Self::Scalar>) -> Self
Construct a packed field element from a sequence of scalars. Read more
§impl<T> Pointable for T
 
impl<T> Pointable for T
Source§impl<T> Random for Twhere
    StandardUniform: Distribution<T>,
 
impl<T> Random for Twhere
    StandardUniform: Distribution<T>,
Source§impl<PT> TaggedInvertOrZero<PairwiseStrategy> for PT
 
impl<PT> TaggedInvertOrZero<PairwiseStrategy> for PT
fn invert_or_zero(self) -> PT
Source§impl<PT> TaggedMul<PairwiseStrategy> for PTwhere
    PT: PackedField,
 
impl<PT> TaggedMul<PairwiseStrategy> for PTwhere
    PT: PackedField,
Source§impl<PT> TaggedMulAlpha<PairwiseStrategy> for PT
 
impl<PT> TaggedMulAlpha<PairwiseStrategy> for PT
Source§impl<IP, OP> TaggedPackedTransformationFactory<PackedStrategy, OP> for IPwhere
    IP: PackedBinaryField + WithUnderlier,
    <IP as WithUnderlier>::Underlier: UnderlierWithBitOps,
    OP: PackedBinaryField + WithUnderlier<Underlier = <IP as WithUnderlier>::Underlier>,
 
impl<IP, OP> TaggedPackedTransformationFactory<PackedStrategy, OP> for IPwhere
    IP: PackedBinaryField + WithUnderlier,
    <IP as WithUnderlier>::Underlier: UnderlierWithBitOps,
    OP: PackedBinaryField + WithUnderlier<Underlier = <IP as WithUnderlier>::Underlier>,
type PackedTransformation<Data: AsRef<[<OP as PackedField>::Scalar]> + Sync> = PackedTransformation<OP>
fn make_packed_transformation<Data>( transformation: FieldLinearTransformation<<OP as PackedField>::Scalar, Data>, ) -> <IP as TaggedPackedTransformationFactory<PackedStrategy, OP>>::PackedTransformation<Data>
Source§impl<IP, OP> TaggedPackedTransformationFactory<PairwiseStrategy, OP> for IPwhere
    IP: PackedBinaryField,
    OP: PackedBinaryField,
 
impl<IP, OP> TaggedPackedTransformationFactory<PairwiseStrategy, OP> for IPwhere
    IP: PackedBinaryField,
    OP: PackedBinaryField,
type PackedTransformation<Data: AsRef<[<OP as PackedField>::Scalar]> + Sync> = PairwiseTransformation<FieldLinearTransformation<<OP as PackedField>::Scalar, Data>>
fn make_packed_transformation<Data>( transformation: FieldLinearTransformation<<OP as PackedField>::Scalar, Data>, ) -> <IP as TaggedPackedTransformationFactory<PairwiseStrategy, OP>>::PackedTransformation<Data>
Source§impl<PT> TaggedSquare<PairwiseStrategy> for PT
 
impl<PT> TaggedSquare<PairwiseStrategy> for PT
Source§impl<T> TaggedSquare<ReuseMultiplyStrategy> for T
 
impl<T> TaggedSquare<ReuseMultiplyStrategy> for T
§impl<I, T> TransparentWrapperAlloc<I> for T
 
impl<I, T> TransparentWrapperAlloc<I> for T
§fn wrap_vec(s: Vec<Inner>) -> Vec<Self>where
    Self: Sized,
 
fn wrap_vec(s: Vec<Inner>) -> Vec<Self>where
    Self: Sized,
Convert a vec of the inner type into a vec of the wrapper type.
§fn wrap_box(s: Box<Inner>) -> Box<Self>
 
fn wrap_box(s: Box<Inner>) -> Box<Self>
Convert a box to the inner type into a box to the wrapper
type.
§fn wrap_rc(s: Rc<Inner>) -> Rc<Self>
 
fn wrap_rc(s: Rc<Inner>) -> Rc<Self>
Convert an 
Rc to the inner type into an Rc to the wrapper type.§fn wrap_arc(s: Arc<Inner>) -> Arc<Self>
 
fn wrap_arc(s: Arc<Inner>) -> Arc<Self>
Convert an 
Arc to the inner type into an Arc to the wrapper type.§fn peel_vec(s: Vec<Self>) -> Vec<Inner>where
    Self: Sized,
 
fn peel_vec(s: Vec<Self>) -> Vec<Inner>where
    Self: Sized,
Convert a vec of the wrapper type into a vec of the inner type.
§fn peel_box(s: Box<Self>) -> Box<Inner>
 
fn peel_box(s: Box<Self>) -> Box<Inner>
Convert a box to the wrapper type into a box to the inner
type.