stdlib/matrix.rb
#
# Returns the adjugate of the matrix.
#
#   Matrix[ [7,6],[3,9] ].adjugate
#     => 9 -6
#        -3 7
#
Returns the adjugate of the matrix.
Returns the adjugate of the matrix .
def adjugate
    Matrix.Raise ErrDimensionMismatch unless square?
    Matrix.build(row_count, column_count) do |row, column|
      cofactor(column, row)
    end
  end
def adjugate Matrix . Raise ErrDimensionMismatch unless square? Matrix . build ( row_count , column_count ) do | row , column | cofactor ( column , row ) end end
Returns the adjugate of the matrix.
Returns the adjugate of the matrix .