Ruby | Matrix division / method
The / is an inbuilt method in Ruby returns a matrix which has the division of two matrix mat1 and mat2. Here, division means multiplication with the inverse. Syntax: mat1 / mat2 Parameters: The function need two matrix mat1 and mat2 which are to be divided. Return Value: It returns the resultant mat