Trait halo2_ecc::fields::Selectable
source · [−]pub trait Selectable<F: ScalarField, Pt> {
fn select(
&self,
ctx: &mut Context<F>,
a: Pt,
b: Pt,
sel: AssignedValue<F>
) -> Pt;
fn select_by_indicator(
&self,
ctx: &mut Context<F>,
a: &impl AsRef<[Pt]>,
coeffs: &[AssignedValue<F>]
) -> Pt;
}