Adding block-constant matrices in numpy
Adding block-constant matrices in numpy Question: Let’s say we have a n*n matrix A m*m matrix B a vector b=[b_1,…,b_m] of block sizes with b_1 + … + b_m = n and b_i >= 1. Then I define a n*n block matrix B_block whose (i,j)-th block is a b_i*b_j matrix of constant value B_{ij}. How …