VecZnxAddScalar

Trait VecZnxAddScalar 

Source
pub trait VecZnxAddScalar {
    // Required method
    fn vec_znx_add_scalar<R, A, B>(
        &self,
        res: &mut R,
        res_col: usize,
        a: &A,
        a_col: usize,
        b: &B,
        b_col: usize,
        b_limb: usize,
    )
       where R: VecZnxToMut,
             A: ScalarZnxToRef,
             B: VecZnxToRef;
}

Required Methods§

Source

fn vec_znx_add_scalar<R, A, B>( &self, res: &mut R, res_col: usize, a: &A, a_col: usize, b: &B, b_col: usize, b_limb: usize, )

Adds the selected column of a on the selected column and limb of b and writes the result on the selected column of res.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§