def have_the_same_dimensions matrix
    if (matrix.is_a?Matrix and matrix.columns == @columns and matrix.lines == @lines)
      true
    else
      false
    end
  end
def have_the_same_dimensions matrix
    if (matrix.is_a?Matrix and matrix.columns == @columns and matrix.lines == @lines)
      true
    else
      false
    end
  end
== Params:
 matrix::
   matrix is a Matrix to compare.
 == Returns:
 True or False.
 == Usage::
 The function check if the current matrix and matrix:: have the same dimensions (linse and columns)