Skip to content

Tag Archives: Ruby Matrix-class

The regular?() is an inbuilt method in Ruby returns a boolean value. It returns true if it is a regular matrix, else it returns false.… Read More
The hermitian?() is an inbuilt method in Ruby returns a boolean value. It returns true if the matrix is hermitian, else it returns false. It… Read More
The hash() is an inbuilt method in Ruby returns the hash-code of the matrix. Syntax: mat1.hash()Parameters: The function does not accepts any parameter.Return Value: It… Read More
The first_minor() is an inbuilt method in Ruby returns the submatrix after removing the specified row and column.   Syntax: mat1.first_minor(row_num, col_num)Parameters: The function needs the… Read More
The find_index is an inbuilt method in Ruby returns the index position of the given number. If the element is present more than once, the… Read More
The == is an inbuilt method in Ruby returns a boolean value. It returns true if both the matrix are equal or else it returns… Read More
The eql? is an inbuilt method in Ruby returns a boolean value. It returns true if both the matrix are equal or else it returns… Read More
The entrywise_product() is an inbuilt method in Ruby returns the hadamard_product of two matrices. It takes two matrices of the same dimensions and produces another… Read More
The hadamard_product?() is an inbuilt method in Ruby returns the hadamard_product of two matrices. It takes two matrices of the same dimensions and produces another… Read More
The empty?() is an inbuilt method in Ruby returns a boolean value. It returns true if the matrix is empty, else it returns false. Syntax:… Read More
The element() is an inbuilt method in Ruby returns the element present at the intersection of i-th row and j-th column. Syntax: mat1.element(i, j) Parameters:… Read More
The eigensystem() is an inbuilt method in Ruby returns the Eigensystem of the matrix. Syntax: mat1.eigensystem() Parameters: The function does not accepts any parameter. Return… Read More
The eigen() is an inbuilt method in Ruby returns the Eigensystem of the matrix. Syntax: mat1.eigen() Parameters: The function does not accepts any parameter. Return… Read More
The conj() is an inbuilt method in Ruby returns the conjugate matrix. Syntax: mat1.conj() Parameters: The function does not accepts any parameter. Return Value: It… Read More
The transpose() is an inbuilt method in Ruby returns the transpose of the matrix. Syntax: mat1.transpose() Parameters: The function needs the matrix to be transposed.… Read More

Start Your Coding Journey Now!