Skip to main content

setup_a

Function setup_a 

Source
pub fn setup_a<const NU: usize, const NV: usize>(
    b_mat: &Mat<NV, NU>,
    wv: &VecN<NV>,
) -> Mat<NV, NU>
where Const<NV>: DimName + DimMin<Const<NU>, Output = Const<NU>>, Const<NU>: DimName, DefaultAllocator: Allocator<Const<NV>, Const<NU>> + Allocator<Const<NV>, Const<NV>> + Allocator<Const<NU>, Const<NU>> + Allocator<Const<NV>> + Allocator<Const<NU>>,
Expand description

Build the unregularised coefficient matrix A = Wv · G.

Returns an NV × NU matrix suitable for solve_cls.