Ruby | Matrix minor() function
The minor() is an inbuilt method in Ruby returns a section of the matrix. It either returns a matrix by taking the starting row, end row, start column, end column or by taking the range of rows and columns. Syntax: mat1.minor(start_row, end_row, start_col, end_col) or mat1.minor(row1..row2, col1..co