binius_field::arch::packed_1

Type Alias PackedBinaryField1x1b

source
pub type PackedBinaryField1x1b = PackedPrimitiveType<U1, BinaryField1b>;

Aliased Type§

struct PackedBinaryField1x1b(pub SmallU<1>, pub PhantomData<BinaryField1b>);

Fields§

§0: SmallU<1>§1: PhantomData<BinaryField1b>

Trait Implementations§

source§

impl InvertOrZero for PackedBinaryField1x1b

source§

fn invert_or_zero(self) -> Self

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

impl Mul for PackedBinaryField1x1b

source§

type Output = PackedPrimitiveType<SmallU<1>, BinaryField1b>

The resulting type after applying the * operator.
source§

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

Performs the * operation. Read more
source§

impl MulAlpha for PackedBinaryField1x1b

source§

fn mul_alpha(self) -> Self

Multiply self by alpha
source§

impl<OP> PackedTransformationFactory<OP> for PackedBinaryField1x1b

source§

type PackedTransformation<Data: Deref<Target = [OP::Scalar]>> = <PackedPrimitiveType<SmallU<1>, BinaryField1b> as TaggedPackedTransformationFactory<PairwiseStrategy, 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 PackedBinaryField1x1b

source§

fn square(self) -> Self

Returns the value multiplied by itself