binius_field::arch::packed_8

Type Alias PackedBinaryField2x4b

source
pub type PackedBinaryField2x4b = PackedPrimitiveType<u8, BinaryField4b>;

Aliased Type§

struct PackedBinaryField2x4b(pub u8, pub PhantomData<BinaryField4b>);

Fields§

§0: u8§1: PhantomData<BinaryField4b>

Trait Implementations§

source§

impl InvertOrZero for PackedBinaryField2x4b

source§

fn invert_or_zero(self) -> Self

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

impl Mul for PackedBinaryField2x4b

source§

type Output = PackedPrimitiveType<u8, BinaryField4b>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl MulAlpha for PackedBinaryField2x4b

source§

fn mul_alpha(self) -> Self

Multiply self by alpha
source§

impl<OP> PackedTransformationFactory<OP> for PackedBinaryField2x4b

source§

type PackedTransformation<Data: Deref<Target = [OP::Scalar]>> = <PackedPrimitiveType<u8, BinaryField4b> 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 PackedBinaryField2x4b

source§

fn square(self) -> Self

Returns the value multiplied by itself