Skip to main content

setup_b

Function setup_b 

Source
pub fn setup_b<const NU: usize, const NV: usize, const NC: usize>(
    v: &VecN<NV>,
    ud: &VecN<NU>,
    wv: &VecN<NV>,
    wu_norm: &VecN<NU>,
    gamma: f32,
) -> VecN<NC>
where Const<NC>: DimName + DimMin<Const<NU>, Output = Const<NU>>, Const<NU>: DimName, Const<NV>: DimName, DefaultAllocator: Allocator<Const<NC>, Const<NU>> + Allocator<Const<NC>, Const<NC>> + Allocator<Const<NU>, Const<NU>> + Allocator<Const<NC>> + Allocator<Const<NU>> + Allocator<Const<NV>>,
Expand description

Compute the right-hand side b for the LS problem.