submatrix

Determine indexes where A is a submatrix of matrix B

Determine indexes where A is a submatrix of matrix B Question: I’m coding in python and I would like to know how I can get the indexes of a matrix A where the matrix B is contained in A. For example, if we have A = [[1,2,3], [4,5,6], [7,8,9]] and B = [[2,3], [5,6]] Then …

Total answers: 1