Programming, Python, Linear Algebra, Numpy, Mathematics.
Matrix Chess Table Rule Applies the Chess Table Rule to the given matrix. Note that the matrix has to be a square matrix and at least 2 rows tall. Chess Table Rule function It creates a new matrix by multiplying specific elements by -1. If we count indices from one: For every odd row: Every even