pub trait ArithmeticProjBundleGadgets: FancyArithmetic + FancyProj {
// Provided methods
fn mixed_radix_addition(
&mut self,
xs: &[Bundle<Self::Item>],
channel: &mut Channel<'_>,
) -> Result<Bundle<Self::Item>> { ... }
fn mixed_radix_addition_msb_only(
&mut self,
xs: &[Bundle<Self::Item>],
channel: &mut Channel<'_>,
) -> Result<Self::Item> { ... }
fn eq_bundles(
&mut self,
x: &Bundle<Self::Item>,
y: &Bundle<Self::Item>,
channel: &mut Channel<'_>,
) -> Result<Self::Item> { ... }
}Expand description
Arithmetic operations on wire bundles that utilize projection gates.