binius_field::packed_binary_field

Type Alias PackedBinaryField32x1b

Source
pub type PackedBinaryField32x1b = PackedPrimitiveType<u32, BinaryField1b>;

Aliased Type§

struct PackedBinaryField32x1b(pub u32, pub PhantomData<BinaryField1b>);

Fields§

§0: u32§1: PhantomData<BinaryField1b>

Trait Implementations§

Source§

impl InvertOrZero for PackedBinaryField32x1b

Source§

fn invert_or_zero(self) -> Self

Returns the inverted value or zero in case when self is zero
Source§

impl Mul for PackedBinaryField32x1b

Source§

type Output = PackedPrimitiveType<u32, BinaryField1b>

The resulting type after applying the * operator.
Source§

fn mul(self, b: Self) -> Self

Performs the * operation. Read more
Source§

impl MulAlpha for PackedBinaryField32x1b

Source§

fn mul_alpha(self) -> Self

Multiply self by alpha
Source§

impl<OP> PackedTransformationFactory<OP> for PackedBinaryField32x1b

Source§

type PackedTransformation<Data: Deref<Target = [OP::Scalar]>> = <PackedPrimitiveType<u32, BinaryField1b> as TaggedPackedTransformationFactory<PackedStrategy, OP>>::PackedTransformation<Data>

Source§

fn make_packed_transformation<Data: Deref<Target = [OP::Scalar]>>( transformation: FieldLinearTransformation<OP::Scalar, Data>, ) -> Self::PackedTransformation<Data>

Source§

impl Square for PackedBinaryField32x1b

Source§

fn square(self) -> Self

Returns the value multiplied by itself